aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/display.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/display.php b/mod/display.php
index 91bc82d64..541df23ec 100644
--- a/mod/display.php
+++ b/mod/display.php
@@ -127,7 +127,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)
);