fix call to undefined function

(cherry picked from commit 0bba9482df)
This commit is contained in:
Mario Vavti 2018-11-21 12:21:29 +00:00 committed by Mario
parent 07fd2dbc99
commit e30be643c9

View File

@ -138,7 +138,7 @@ class PConfig {
$hash = hash('sha256',$family.':'.$key);
if (self::Get($uid, 'hz_delpconfig', $hash) !== false) {
if (Get($uid, 'hz_delpconfig', $hash) > $updated) {
if (self::Get($uid, 'hz_delpconfig', $hash) > $updated) {
logger('Refusing to update pconfig with outdated info (Item deleted more recently).', LOGGER_NORMAL, LOG_ERR);
return self::Get($uid,$family,$key);
} else {