From 0357180164d9805ded2d00157d74b4b42b9d1055 Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 3 Feb 2015 23:33:06 -0800 Subject: remove extra debugging --- mod/connedit.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mod/connedit.php b/mod/connedit.php index 58366da6d..2c4c0cef8 100644 --- a/mod/connedit.php +++ b/mod/connedit.php @@ -574,12 +574,11 @@ function connedit_content(&$a) { $rating_val = 0; $rating_text = ''; -dbg(1); $xl = q("select * from xlink where xlink_xchan = '%s' and xlink_link = '%s' and xlink_static = 1", dbesc($channel['channel_hash']), dbesc($contact['xchan_hash']) ); -dbg(0); + if($xl) { $rating_val = intval($xl[0]['xlink_rating']); $rating_text = $xl[0]['xlink_rating_text']; -- cgit v1.2.3