aboutsummaryrefslogtreecommitdiffstats
path: root/include/externals.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/externals.php')
-rw-r--r--include/externals.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/externals.php b/include/externals.php
index 8944524b7..acfaae3b6 100644
--- a/include/externals.php
+++ b/include/externals.php
@@ -60,8 +60,8 @@ function externals_run($argv, $argc){
}
if($url) {
- if($r[0]['site_pull'] !== '0000-00-00 00:00:00')
- $mindate = urlencode($r[0]['site_pull']);
+ if($r[0]['site_pull'] !== NULL_DATE)
+ $mindate = urlencode(datetime_convert('','',$r[0]['site_pull'] . ' - 1 day'));
else {
$days = get_config('externals','since_days');
if($days === false)