get_int for db_version
This commit is contained in:
parent
3ee05b21e2
commit
8651cc0d7a
@ -20,7 +20,7 @@ class Upgrade extends Extension
|
|||||||
{
|
{
|
||||||
global $config, $database;
|
global $config, $database;
|
||||||
|
|
||||||
if (!is_numeric($config->get_string("db_version"))) {
|
if ($config->get_int("db_version") < 1) {
|
||||||
$this->set_version("db_version", 2);
|
$this->set_version("db_version", 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user