Browse Source

take debugging commands out of mod/display

pull/604/head
Zach Prezkuta 8 years ago
parent
commit
df53c98798
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      mod/display.php

+ 1
- 2
mod/display.php View File

@ -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 '';
}


Loading…
Cancel
Save