pass deleted flag to display

This commit is contained in:
friendica 2012-07-30 00:49:48 -07:00
parent 9b752b8a59
commit efded40461

View 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)
);