summaryrefslogtreecommitdiffstats
path: root/modules-available/adduser/page.inc.php
diff options
context:
space:
mode:
authorSimon Rettberg2016-05-10 19:17:28 +0200
committerSimon Rettberg2016-05-10 19:17:28 +0200
commita79bbfa1a23838b91e9a08f7014c2c7304976714 (patch)
treefafb56190707d10b01cb282bc14b99156e100dcb /modules-available/adduser/page.inc.php
parentTranslating module strings and custom sections works (diff)
downloadslx-admin-a79bbfa1a23838b91e9a08f7014c2c7304976714.tar.gz
slx-admin-a79bbfa1a23838b91e9a08f7014c2c7304976714.tar.xz
slx-admin-a79bbfa1a23838b91e9a08f7014c2c7304976714.zip
Migrated messages to modules
Diffstat (limited to 'modules-available/adduser/page.inc.php')
-rw-r--r--modules-available/adduser/page.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/adduser/page.inc.php b/modules-available/adduser/page.inc.php
index c236cb6f..cb2987bd 100644
--- a/modules-available/adduser/page.inc.php
+++ b/modules-available/adduser/page.inc.php
@@ -10,7 +10,7 @@ class Page_AddUser extends Page
if (isset($_POST['action']) && $_POST['action'] === 'adduser') {
// Check required fields
if (empty($_POST['user']) || empty($_POST['pass1']) || empty($_POST['pass2']) || empty($_POST['fullname'])) {
- Message::addError('empty-field');
+ Message::addError('main.empty-field');
Util::redirect('?do=AddUser');
} elseif ($_POST['pass1'] !== $_POST['pass2']) {
Message::addError('password-mismatch');