mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Remain PHP Backwards compatibility
This commit is contained in:
@@ -83,8 +83,8 @@ if ($handle = opendir($config['install_dir'].'/sql-schema')) {
|
||||
}
|
||||
|
||||
asort($filelist);
|
||||
|
||||
if (explode('.', max($filelist), 2)[0] <= $db_rev) {
|
||||
$tmp = explode('.', max($filelist), 2);
|
||||
if ($tmp[0] <= $db_rev) {
|
||||
if ($debug) {
|
||||
echo "DB Schema already up to date.\n";
|
||||
}
|
||||
|
Reference in New Issue
Block a user