From: Zach Prezkuta Date: Tue, 5 Feb 2013 03:39:47 +0000 (-0700) Subject: take debugging commands out of mod/display X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=df53c98798024f2d41a0929463b903070c6b75c7;p=friendica.git take debugging commands out of mod/display --- diff --git a/mod/display.php b/mod/display.php index 2c9243a217..57a329f305 100644 --- a/mod/display.php +++ b/mod/display.php @@ -122,7 +122,6 @@ function display_content(&$a, $update = 0) { if($update) { -dbg(1); $r = q("SELECT id FROM item WHERE item.uid = %d AND `item`.`parent` = ( SELECT `parent` FROM `item` WHERE ( `id` = '%s' OR `uri` = '%s' )) $sql_extra AND unseen = 1", @@ -130,7 +129,7 @@ dbg(1); dbesc($item_id), dbesc($item_id) ); -dbg(0); + if(!$r) return ''; }