From a13ab4ee9b4266b7671f010780b41521624a1afc Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 14 Oct 2013 21:09:39 -0700 Subject: sql wrong number of args --- include/zot.php | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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) ); } -- cgit v1.2.3