diff options
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/config.lib.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/inc/config.lib.inc b/etc/inc/config.lib.inc index 11e1ec3..1b7766a 100644 --- a/etc/inc/config.lib.inc +++ b/etc/inc/config.lib.inc @@ -404,7 +404,8 @@ function convert_config() { $cur = $config['version'] * 10; $next = $cur + 1; $migration_function = sprintf('upgrade_%03d_to_%03d', $cur, $next); - $migration_function(); + if (function_exists($migration_function)) + $migration_function(); $migration_function = "{$migration_function}_custom"; if (function_exists($migration_function)) $migration_function(); |