oops
This commit is contained in:
parent
9038afc47a
commit
9cbddd629e
1 changed files with 1 additions and 1 deletions
|
@ -470,7 +470,7 @@ class Pools extends Extension
|
|||
if ($user->can(Permissions::POOLS_ADMIN)) {
|
||||
$pools = $database->get_pairs("SELECT id,title FROM pools ORDER BY title");
|
||||
} else {
|
||||
$pools = $database->get_pairs("SELECT id,title FROM pools ORDER BY title WHERE user_id=:id", ["id" => $user->id]);
|
||||
$pools = $database->get_pairs("SELECT id,title FROM pools WHERE user_id=:id ORDER BY title", ["id" => $user->id]);
|
||||
}
|
||||
if (count($pools) > 0) {
|
||||
$event->add_part($this->theme->get_adder_html($event->image, $pools));
|
||||
|
|
Reference in a new issue