From efded4046141f770eb5222dabb6bbb2f376f2f78 Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 30 Jul 2012 00:49:48 -0700 Subject: [PATCH] pass deleted flag to display --- mod/display.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) ); -- 2.39.5