diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/deliver.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/deliver.php b/include/deliver.php index 62a4ac482..86fc90b3f 100644 --- a/include/deliver.php +++ b/include/deliver.php @@ -62,7 +62,7 @@ function deliver_run($argv, $argc) { q("insert into site (site_url, site_update, site_dead, site_type) values ('%s','%s',0,%d) ", dbesc($base), dbesc(datetime_convert()), - intval(($r[0]['outq_driver'] === 'post' ?) SITE_TYPE_NOTZOT : SITE_TYPE_UNKNOWN) + intval(($r[0]['outq_driver'] === 'post') ? SITE_TYPE_NOTZOT : SITE_TYPE_UNKNOWN) ); } } @@ -76,7 +76,7 @@ function deliver_run($argv, $argc) { $result = z_post_url($r[0]['outq_posturl'],$r[0]['outq_msg']); if($result['success'] && $result['return_code'] < 300) { logger('deliver: queue post success to ' . $r[0]['outq_posturl'], LOGGER_DEBUG); - q("update site set site_update = '%s', site_dead = 0 where site_url = '%s' "), + q("update site set site_update = '%s', site_dead = 0 where site_url = '%s' ", dbesc(datetime_convert()), dbesc($site_url) ); |