aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-02-03 23:33:06 -0800
committerfriendica <info@friendica.com>2015-02-03 23:33:06 -0800
commit0357180164d9805ded2d00157d74b4b42b9d1055 (patch)
treef111bc364a4cfcaa10b79b373fb3a16f19c7dc23
parent127bf82187c266c2202fd33003e60b5061778cd7 (diff)
downloadvolse-hubzilla-0357180164d9805ded2d00157d74b4b42b9d1055.tar.gz
volse-hubzilla-0357180164d9805ded2d00157d74b4b42b9d1055.tar.bz2
volse-hubzilla-0357180164d9805ded2d00157d74b4b42b9d1055.zip
remove extra debugging
-rw-r--r--mod/connedit.php3
1 files changed, 1 insertions, 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'];