X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fpatch-system.php;h=e9be4551919aa110a7bdb968599dfeb78c941ebb;hp=37de0712551f64179a8bd09864f89ab35121fb0c;hb=5b498995f1792ba5972d782b63cd5cb044727c21;hpb=c1eab06914febad40fbb456d030a9101d6854a28 diff --git a/inc/patch-system.php b/inc/patch-system.php index 37de071255..e9be455191 100644 --- a/inc/patch-system.php +++ b/inc/patch-system.php @@ -38,7 +38,7 @@ if (!defined('__SECURITY')) { } // Check for patch level differences between databases and current hard-coded -if ((CURR_SVN_REVISION > $_CONFIG['patch_level']) || ($_CONFIG['patch_level'] == "CURR_SVN_REVISION") || ($_CONFIG['patch_ctime'] == "UNIX_TIMES")) { +if ((CURR_SVN_REVISION > getConfig('patch_level')) || (getConfig('patch_level') == "CURR_SVN_REVISION") || (getConfig('patch_ctime') == "UNIX_TIMES")) { // Update database and CONFIG array UPDATE_CONFIG(array("patch_level", "patch_ctime"), array(CURR_SVN_REVISION, "UNIX_TIMESTAMP()")); $_CONFIG['patch_level'] = CURR_SVN_REVISION;