Better show error, define used message strDeleteNoUsersSelected.

This commit is contained in:
Michal Čihař
2005-10-08 15:22:14 +00:00
parent ee4ca2cc4f
commit 5214f57c6f
119 changed files with 121 additions and 1 deletions

View File

@@ -917,7 +917,8 @@ if (!empty($delete) || (!empty($change_copy) && $mode < 4)) {
}
if (empty($change_copy)) {
if (empty($queries)) {
$message = $GLOBALS['strError'] . ': ' . $GLOBALS['strDeleteNoUsersSelected'];
$show_error_header = TRUE;
$message = $GLOBALS['strDeleteNoUsersSelected'];
} else {
if ($mode == 3) {
$queries[] = '# ' . $GLOBALS['strReloadingThePrivileges'] . ' ...';