get_int for db_version
This commit is contained in:
parent
3ee05b21e2
commit
8651cc0d7a
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ class Upgrade extends Extension
|
|||
{
|
||||
global $config, $database;
|
||||
|
||||
if (!is_numeric($config->get_string("db_version"))) {
|
||||
if ($config->get_int("db_version") < 1) {
|
||||
$this->set_version("db_version", 2);
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue