Changeset 25018 for trunk/admin/group_list.php
- Timestamp:
- Oct 19, 2013, 7:43:04 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/group_list.php
r25005 r25018 46 46 if (empty($_POST['groupname'])) 47 47 { 48 array_push($page['errors'], l10n('The name of a group must not contain " or \' or be empty.'));48 $page['errors'][] = l10n('The name of a group must not contain " or \' or be empty.'); 49 49 } 50 50 if (count($page['errors']) == 0) … … 59 59 if ($count != 0) 60 60 { 61 array_push($page['errors'], l10n('This name is already used by another group.'));61 $page['errors'][] = l10n('This name is already used by another group.'); 62 62 } 63 63 } … … 87 87 if (count($groups) == 0) 88 88 { 89 array_push($page['errors'], l10n('Select at least one group'));89 $page['errors'][] = l10n('Select at least one group'); 90 90 } 91 91 … … 170 170 if ($count != 0) 171 171 { 172 array_push($page['errors'], l10n('This name is already used by another group.'));172 $page['errors'][] = l10n('This name is already used by another group.'); 173 173 } 174 174 else … … 256 256 if ($count != 0) 257 257 { 258 array_push($page['errors'], l10n('This name is already used by another group.'));258 $page['errors'][] = l10n('This name is already used by another group.'); 259 259 break; 260 260 }
Note: See TracChangeset
for help on using the changeset viewer.