diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-01-26 14:50:52 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-01-26 14:50:52 +0100 |
commit | f7f39cf6c00d914efb1f2624d7a885ac912512e9 (patch) | |
tree | 23eb3a89d6c64da3a92bc249ef7d0830fc81608c /Zotlabs | |
parent | 54826808cf8d2ee7fdf80d6be1283fca47ec1c35 (diff) | |
download | volse-hubzilla-f7f39cf6c00d914efb1f2624d7a885ac912512e9.tar.gz volse-hubzilla-f7f39cf6c00d914efb1f2624d7a885ac912512e9.tar.bz2 volse-hubzilla-f7f39cf6c00d914efb1f2624d7a885ac912512e9.zip |
missing single quote in query
Diffstat (limited to 'Zotlabs')
-rw-r--r-- | Zotlabs/Lib/NativeWiki.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/NativeWiki.php b/Zotlabs/Lib/NativeWiki.php index 469639c14..1b7970c4e 100644 --- a/Zotlabs/Lib/NativeWiki.php +++ b/Zotlabs/Lib/NativeWiki.php @@ -103,7 +103,7 @@ class NativeWiki { static public function sync_a_wiki_item($uid,$id,$resource_id) { - $r = q("SELECT * from item WHERE uid = %d AND ( id = %d OR ( resource_type = '%s and resource_id = %d )) ", + $r = q("SELECT * from item WHERE uid = %d AND ( id = %d OR ( resource_type = '%s' and resource_id = %d )) ", intval($uid), intval($id), dbesc(NWIKI_ITEM_RESOURCE_TYPE), |