summaryrefslogtreecommitdiffstats
path: root/modules-available/serversetup/page.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules-available/serversetup/page.inc.php')
-rw-r--r--modules-available/serversetup/page.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules-available/serversetup/page.inc.php b/modules-available/serversetup/page.inc.php
index 289bf3d5..c48ccd3d 100644
--- a/modules-available/serversetup/page.inc.php
+++ b/modules-available/serversetup/page.inc.php
@@ -13,7 +13,7 @@ class Page_ServerSetup extends Page
User::load();
if (!User::hasPermission('superadmin')) {
- Message::addError('no-permission');
+ Message::addError('main.no-permission');
Util::redirect('?do=Main');
}
@@ -147,7 +147,7 @@ class Page_ServerSetup extends Page
if ($timeout === '')
$timeout = 0;
if (!is_numeric($timeout) || $timeout < 0) {
- Message::addError('value-invalid', 'timeout', $timeout);
+ Message::addError('main.value-invalid', 'timeout', $timeout);
}
$this->currentMenu['defaultentry'] = Request::post('defaultentry', 'net');
$this->currentMenu['timeout'] = $timeout;