aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-10-14 21:09:39 -0700
committerfriendica <info@friendica.com>2013-10-14 21:09:39 -0700
commita13ab4ee9b4266b7671f010780b41521624a1afc (patch)
tree52a52516b494ef32c2013dae0ed2e3f40c680748
parent96ba0dccf993490f7019b94950bad23a354d3127 (diff)
downloadvolse-hubzilla-a13ab4ee9b4266b7671f010780b41521624a1afc.tar.gz
volse-hubzilla-a13ab4ee9b4266b7671f010780b41521624a1afc.tar.bz2
volse-hubzilla-a13ab4ee9b4266b7671f010780b41521624a1afc.zip
sql wrong number of args
-rw-r--r--include/zot.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/zot.php b/include/zot.php
index b250557e6..f1e298f91 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -1568,6 +1568,7 @@ function update_modtime($hash,$guid,$addr,$flags = 0) {
else {
q("update updates set ud_flags = ( ud_flags | %d ) where ud_addr = '%s' and not (ud_flags & %d) ",
intval(UPDATE_FLAGS_UPDATED),
+ dbesc($addr),
intval(UPDATE_FLAGS_UPDATED)
);
}