Aleksander Machniak
2013-01-14 c3d061893b3d49ad725d1518ff0c27db54669015
Don't attempt to write to 'system' table if it doesn't exist
1 files modified
5 ■■■■■ changed files
bin/updatedb.sh 5 ●●●●● patch | view | raw | blame | history
bin/updatedb.sh
@@ -159,6 +159,11 @@
        }
    }
    // escape if 'system' table does not exist
    if ($version < 2013011000) {
        return;
    }
    $DB->query("UPDATE " . $DB->quote_identifier('system')
        ." SET " . $DB->quote_identifier('value') . " = ?"
        ." WHERE " . $DB->quote_identifier('name') . " = ?",