X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fpatch-system.php;h=37de0712551f64179a8bd09864f89ab35121fb0c;hb=8fcf84db9fb67ecc531962b23811330d5cd07a91;hp=c0daae62382570b7ea3c173c066018559883ab39;hpb=963e55ca1ea79e255f235e359cde9f7862191dc5;p=mailer.git diff --git a/inc/patch-system.php b/inc/patch-system.php index c0daae6238..37de071255 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']) { +if ((CURR_SVN_REVISION > $_CONFIG['patch_level']) || ($_CONFIG['patch_level'] == "CURR_SVN_REVISION") || ($_CONFIG['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;