diff options
author | Jannik Schönartz | 2017-03-27 21:13:33 +0200 |
---|---|---|
committer | Jannik Schönartz | 2017-03-27 21:13:33 +0200 |
commit | 309817f0a7f4abe0f1632610e4a0289230e1276f (patch) | |
tree | bc8fa444fd459db3927b2d458e8843e9d730106f /modules-available/locationinfo/page.inc.php | |
parent | frontend: added calendar support back in (diff) | |
download | slx-admin-309817f0a7f4abe0f1632610e4a0289230e1276f.tar.gz slx-admin-309817f0a7f4abe0f1632610e4a0289230e1276f.tar.xz slx-admin-309817f0a7f4abe0f1632610e4a0289230e1276f.zip |
Changed RoomServerID to String instead of int
Diffstat (limited to 'modules-available/locationinfo/page.inc.php')
-rw-r--r-- | modules-available/locationinfo/page.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/locationinfo/page.inc.php b/modules-available/locationinfo/page.inc.php index b7a3f570..c2abe93f 100644 --- a/modules-available/locationinfo/page.inc.php +++ b/modules-available/locationinfo/page.inc.php @@ -97,7 +97,7 @@ class Page_LocationInfo extends Page $result['roomupdate'] = Request::post('roomupdate', 30, 'int'); $result['configupdate'] = Request::post('configupdate', 180, 'int'); $serverid = Request::post('serverid', 0, 'int'); - $serverroomid = Request::post('serverroomid', 0, 'int'); + $serverroomid = Request::post('serverroomid','', 'string'); Database::exec("INSERT INTO `location_info` (locationid, serverid, serverroomid, config) VALUES (:id, :serverid, :serverroomid, :config) ON DUPLICATE KEY UPDATE config=:config, serverid=:serverid, serverroomid=:serverroomid", |