diff options
author | Simon Rettberg | 2017-05-10 12:00:09 +0200 |
---|---|---|
committer | Simon Rettberg | 2017-05-10 12:00:09 +0200 |
commit | 2c379607d667324ec07a29fc28f28c2894159900 (patch) | |
tree | 07e42142c9c47666062fc307ff4215d64c66ec39 /modules-available/locationinfo | |
parent | [weninterface] Improve color list a bit (diff) | |
download | slx-admin-2c379607d667324ec07a29fc28f28c2894159900.tar.gz slx-admin-2c379607d667324ec07a29fc28f28c2894159900.tar.xz slx-admin-2c379607d667324ec07a29fc28f28c2894159900.zip |
[locationinfo] Allow setting a location's server to "none"
Diffstat (limited to 'modules-available/locationinfo')
-rw-r--r-- | modules-available/locationinfo/page.inc.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules-available/locationinfo/page.inc.php b/modules-available/locationinfo/page.inc.php index 610ef0d0..52964b10 100644 --- a/modules-available/locationinfo/page.inc.php +++ b/modules-available/locationinfo/page.inc.php @@ -72,8 +72,7 @@ class Page_LocationInfo extends Page } $serverid = Request::post('serverid', 0, 'int'); if ($serverid === 0) { - Message::addError('main.value-invalid', 'serverid', 0); - Util::redirect('?do=locationinfo'); + $serverid = null; } $result['language'] = Request::post('language', 'en', 'string'); $result['mode'] = Request::post('mode', 1, 'int'); |