diff options
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 3dc914772..469639c14 100644 --- a/Zotlabs/Lib/NativeWiki.php +++ b/Zotlabs/Lib/NativeWiki.php @@ -106,7 +106,7 @@ class NativeWiki { $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) + dbesc(NWIKI_ITEM_RESOURCE_TYPE), intval($resource_id) ); if($r) { |