related to #1530 replaced warning message for status verification

This commit is contained in:
Matthieu Leproux committed 2021-10-22 16:33:17 +02:00
1 parent 6840eb4c24
commit 8ce0e709f5
9 files changed
+9 -7

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@ if( !defined("PHPWG_ROOT_PATH") )
if (!is_webmaster())
{
$page['warnings'][] = l10n('Webmaster status is required.');
$page['warnings'][] = str_replace('%s', l10n('user_status_webmaster'), l10n('%s status is required to edit parameters.'));
}
include_once(PHPWG_ROOT_PATH.'admin/include/languages.class.php');