diff options
author | Simon Rettberg | 2018-07-16 15:17:35 +0200 |
---|---|---|
committer | Simon Rettberg | 2018-07-16 15:17:35 +0200 |
commit | a56e3487dd09740996e3648173a550d368bdb10d (patch) | |
tree | 9f9085933a5ab5bb8f569509b3f5d37c7cdadc62 /modules-available | |
parent | [statistics] Add location column in clientlist (diff) | |
download | slx-admin-a56e3487dd09740996e3648173a550d368bdb10d.tar.gz slx-admin-a56e3487dd09740996e3648173a550d368bdb10d.tar.xz slx-admin-a56e3487dd09740996e3648173a550d368bdb10d.zip |
[roomplanner] Fix search feature: load user in ajax call
Diffstat (limited to 'modules-available')
-rw-r--r-- | modules-available/roomplanner/page.inc.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules-available/roomplanner/page.inc.php b/modules-available/roomplanner/page.inc.php index 023cef73..8b75499b 100644 --- a/modules-available/roomplanner/page.inc.php +++ b/modules-available/roomplanner/page.inc.php @@ -108,6 +108,7 @@ class Page_Roomplanner extends Page if ($this->action === 'getmachines') { + User::load(); $locations = User::getAllowedLocations('edit'); if (empty($locations)) { die('{"machines":[]}'); |