diff options
Diffstat (limited to 'includes/jobs')
-rw-r--r-- | includes/jobs/UpdateContactMethods.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/jobs/UpdateContactMethods.php b/includes/jobs/UpdateContactMethods.php index 2e9d27f..1341791 100644 --- a/includes/jobs/UpdateContactMethods.php +++ b/includes/jobs/UpdateContactMethods.php @@ -33,7 +33,7 @@ foreach ($methods as $name => $method) { "update" => 0 ]; - if (time() - $cache[$name][$contacts[$id][$name]]["update"] > 86400) { + if (time() - $cache[$name][$contacts[$id][$name]]["update"] > 86400 || isset($cache[$name][$contacts[$id][$name]]["data"]["error"])) { echo(" Information is out of date, updating it\n"); $return = []; |