From c8f1bf89a9c1a73c7b631ae59a9e0a17d7f9befd Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 26 Feb 2014 14:51:29 -0800 Subject: vsprintf error --- include/socgraph.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/socgraph.php') diff --git a/include/socgraph.php b/include/socgraph.php index 2bd0290cc..10d52da66 100644 --- a/include/socgraph.php +++ b/include/socgraph.php @@ -68,7 +68,8 @@ function poco_load($xchan = '',$url = null) { if(array_key_exists('chatrooms',$j) && is_array($j['chatrooms'])) { foreach($j['chatrooms'] as $room) { $r = q("select * from xchat where xchat_url = '%s' and xchat_xchan = '%s' limit 1", - dbesc($room['url']) + dbesc($room['url']), + dbesc($xchan) ); if($r) { q("update xchat set xchat_edited = '%s' where xchat_id = %d limit 1", -- cgit v1.2.3