From 54f7cd53022284570ca38daba97386f929fd6f4a Mon Sep 17 00:00:00 2001 From: zotlabs Date: Tue, 24 Jan 2017 20:17:05 -0800 Subject: typo --- Zotlabs/Lib/NativeWiki.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Zotlabs/Lib') 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) { -- cgit v1.2.3