|
@@ 1458-1459 (lines=2) @@
|
| 1455 |
|
$context['ban_errors'][] = 'ban_name_empty'; |
| 1456 |
|
if (empty($ban_info['id'])) |
| 1457 |
|
$context['ban_errors'][] = 'ban_id_empty'; |
| 1458 |
|
if (empty($ban_info['cannot']['access']) && empty($ban_info['cannot']['register']) && empty($ban_info['cannot']['post']) && empty($ban_info['cannot']['login'])) |
| 1459 |
|
$context['ban_errors'][] = 'ban_unknown_restriction_type'; |
| 1460 |
|
|
| 1461 |
|
if (!empty($ban_info['id'])) |
| 1462 |
|
{ |
|
@@ 1545-1546 (lines=2) @@
|
| 1542 |
|
|
| 1543 |
|
if (empty($ban_info['name'])) |
| 1544 |
|
$context['ban_errors'][] = 'ban_name_empty'; |
| 1545 |
|
if (empty($ban_info['cannot']['access']) && empty($ban_info['cannot']['register']) && empty($ban_info['cannot']['post']) && empty($ban_info['cannot']['login'])) |
| 1546 |
|
$context['ban_errors'][] = 'ban_unknown_restriction_type'; |
| 1547 |
|
|
| 1548 |
|
if (!empty($ban_info['name'])) |
| 1549 |
|
{ |