summaryrefslogtreecommitdiff
path: root/includes/jobs/UpdateContactMethods.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/jobs/UpdateContactMethods.php')
-rw-r--r--includes/jobs/UpdateContactMethods.php2
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 = [];