diff options
author | Christian Hofmaier | 2020-09-08 20:56:19 +0200 |
---|---|---|
committer | Christian Hofmaier | 2020-09-08 20:56:19 +0200 |
commit | c535ce5e2f78f5223662c97543f718334abf2a35 (patch) | |
tree | 728fe2fcfe16e33757daeb086ba905c2f834118e /modules-available/locationinfo/inc/infopanel.inc.php | |
parent | [locationinfo] Fix overriding "show hostnames" not being saved (diff) | |
download | slx-admin-c535ce5e2f78f5223662c97543f718334abf2a35.tar.gz slx-admin-c535ce5e2f78f5223662c97543f718334abf2a35.tar.xz slx-admin-c535ce5e2f78f5223662c97543f718334abf2a35.zip |
[locations] Migrate openingtimes from infoscreen to locations module
- move openingtimes from infoscreen db to locations db
- read-only openingtimes in infoscreen
Diffstat (limited to 'modules-available/locationinfo/inc/infopanel.inc.php')
-rw-r--r-- | modules-available/locationinfo/inc/infopanel.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/locationinfo/inc/infopanel.inc.php b/modules-available/locationinfo/inc/infopanel.inc.php index 001f31ea..af32c1ed 100644 --- a/modules-available/locationinfo/inc/infopanel.inc.php +++ b/modules-available/locationinfo/inc/infopanel.inc.php @@ -169,7 +169,7 @@ class InfoPanel $allIds = self::getLocationsWithParents($idList); if (empty($allIds)) return; - $res = Database::simpleQuery("SELECT locationid, openingtime FROM locationinfo_locationconfig + $res = Database::simpleQuery("SELECT locationid, openingtime FROM location WHERE locationid IN (:lids)", array('lids' => $allIds)); $openingTimes = array(); while ($row = $res->fetch(PDO::FETCH_ASSOC)) { |