aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2023-04-12 23:11:02 +0200
committerMario Vavti <mario@mariovavti.com>2023-04-12 23:11:02 +0200
commitb9827dfe02266707d6b1eccc1024e4db1756d8b6 (patch)
tree34119d1befd4246ce9b267e1af1450b8a7a2fd04 /Zotlabs/Lib
parent64f30831ac1176baedba9952ff56c51e000ae5f2 (diff)
downloadvolse-hubzilla-b9827dfe02266707d6b1eccc1024e4db1756d8b6.tar.gz
volse-hubzilla-b9827dfe02266707d6b1eccc1024e4db1756d8b6.tar.bz2
volse-hubzilla-b9827dfe02266707d6b1eccc1024e4db1756d8b6.zip
move colon to the variable
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),