aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-02-04 22:37:30 +0100
committerMario Vavti <mario@mariovavti.com>2018-02-04 22:37:30 +0100
commit9d55a254dcd39e2a77a1c24625adba69d16acb7a (patch)
tree89c9d026a168139fe81a7bdf2479a7c68db06fdf /Zotlabs/Module
parentf9aecf5d4c8304acb51d05be5bf2fd4bb70f790f (diff)
downloadvolse-hubzilla-9d55a254dcd39e2a77a1c24625adba69d16acb7a.tar.gz
volse-hubzilla-9d55a254dcd39e2a77a1c24625adba69d16acb7a.tar.bz2
volse-hubzilla-9d55a254dcd39e2a77a1c24625adba69d16acb7a.zip
this will fix the cards query and keep the rest intact
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r--Zotlabs/Module/Cards.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Cards.php b/Zotlabs/Module/Cards.php
index 8eff6c80d..f87988183 100644
--- a/Zotlabs/Module/Cards.php
+++ b/Zotlabs/Module/Cards.php
@@ -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)