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

Commit 8501ddf0 authored by Evan Prodromou's avatar Evan Prodromou

don't use fetchAll() for profile lists ever

parent 6132bdda
......@@ -85,7 +85,13 @@ class ProfileList extends Widget
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