diff --git a/mod/display.php b/mod/display.php index 81ed174acc..d1bb36e438 100644 --- a/mod/display.php +++ b/mod/display.php @@ -126,7 +126,7 @@ EOT; } else { - $r = q("SELECT `id` FROM `item` WHERE `id` = '%s' OR `uri` = '%s' LIMIT 1", + $r = q("SELECT `id`,`deleted` FROM `item` WHERE `id` = '%s' OR `uri` = '%s' LIMIT 1", dbesc($item_id), dbesc($item_id) );