|
@@ 1427-1428 (lines=2) @@
|
| 1424 |
|
$context['ban_errors'][] = 'ban_name_empty'; |
| 1425 |
|
if (empty($ban_info['id'])) |
| 1426 |
|
$context['ban_errors'][] = 'ban_id_empty'; |
| 1427 |
|
if (empty($ban_info['cannot']['access']) && empty($ban_info['cannot']['register']) && empty($ban_info['cannot']['post']) && empty($ban_info['cannot']['login'])) |
| 1428 |
|
$context['ban_errors'][] = 'ban_unknown_restriction_type'; |
| 1429 |
|
|
| 1430 |
|
if (!empty($ban_info['id'])) |
| 1431 |
|
{ |
|
@@ 1514-1515 (lines=2) @@
|
| 1511 |
|
|
| 1512 |
|
if (empty($ban_info['name'])) |
| 1513 |
|
$context['ban_errors'][] = 'ban_name_empty'; |
| 1514 |
|
if (empty($ban_info['cannot']['access']) && empty($ban_info['cannot']['register']) && empty($ban_info['cannot']['post']) && empty($ban_info['cannot']['login'])) |
| 1515 |
|
$context['ban_errors'][] = 'ban_unknown_restriction_type'; |
| 1516 |
|
|
| 1517 |
|
if (!empty($ban_info['name'])) |
| 1518 |
|
{ |