aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs/Lib')
-rw-r--r--Zotlabs/Lib/Libzotdir.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Lib/Libzotdir.php b/Zotlabs/Lib/Libzotdir.php
index 48f966404..f6dca65a3 100644
--- a/Zotlabs/Lib/Libzotdir.php
+++ b/Zotlabs/Lib/Libzotdir.php
@@ -659,11 +659,11 @@ class Libzotdir {
$date_sql = '';
if ($bump_date) {
- $date_sql = "ud_date = '" . dbesc(datetime_convert()) . "'";
+ $date_sql = "ud_date = '" . dbesc(datetime_convert()) . "',";
}
if ($u) {
- $x = q("UPDATE updates SET $date_sql, ud_last = '%s', ud_guid = '%s', ud_addr = '%s', ud_flags = 0 WHERE ud_id = %d",
+ $x = q("UPDATE updates SET $date_sql ud_last = '%s', ud_guid = '%s', ud_addr = '%s', ud_flags = 0 WHERE ud_id = %d",
dbesc(NULL_DATE),
dbesc(\App::get_hostname()),
dbesc($addr),