We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 6132bdda authored by Evan Prodromou's avatar Evan Prodromou

don't use fetchAll() when you've done a query()

parent f81c1f75
......@@ -130,7 +130,13 @@ class SortableSubscriptionList extends SubscriptionList
function showProfiles()
$profiles = $this->profile->fetchAll();
// Note: we don't use fetchAll() because it's borked with query()
$profiles = array();
while ($this->profile->fetch()) {
$profiles[] = clone($this->profile);
$cnt = count($profiles);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment