]> git.mxchange.org Git - friendica.git/commitdiff
pass deleted flag to display
authorfriendica <info@friendica.com>
Mon, 30 Jul 2012 07:49:48 +0000 (00:49 -0700)
committerfriendica <info@friendica.com>
Mon, 30 Jul 2012 07:49:48 +0000 (00:49 -0700)
mod/display.php

index 81ed174acc46daac65f51a62327382fce2763800..d1bb36e438fcde543787ae53f41b47314449c754 100644 (file)
@@ -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)
                );