From 9b9fe39839632811f22a718307116b61b220b752 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Sat, 29 Jul 2017 04:47:55 -0700 Subject: missing quotes on string in network update_unseen --- Zotlabs/Module/Network.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Zotlabs/Module/Network.php') diff --git a/Zotlabs/Module/Network.php b/Zotlabs/Module/Network.php index 5c97ad473..d689efd14 100644 --- a/Zotlabs/Module/Network.php +++ b/Zotlabs/Module/Network.php @@ -540,7 +540,7 @@ class Network extends \Zotlabs\Web\Controller { } else { if($parents_str) { - $update_unseen = " AND parent IN ( " . dbesc($parents_str) . " ) AND obj_type != " . dbesc(ACTIVITY_OBJ_FILE) . ""; + $update_unseen = " AND parent IN ( " . dbesc($parents_str) . " ) AND obj_type != '" . dbesc(ACTIVITY_OBJ_FILE) . "'"; } } } -- cgit v1.2.3