this will fix the cards query and keep the rest intact

This commit is contained in:
Mario Vavti
2018-02-04 22:37:30 +01:00
parent f9aecf5d4c
commit 9d55a254dc
5 changed files with 19 additions and 7 deletions

View File

@@ -143,7 +143,7 @@ class Cards extends \Zotlabs\Web\Controller {
}
$r = q("select * from item
where item.uid = %d and item_type = %d
where uid = %d and item_type = %d
$sql_extra order by item.created desc",
intval($owner),
intval(ITEM_TYPE_CARD)