aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp/acp_styles.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/acp/acp_styles.php')
-rw-r--r--phpBB/includes/acp/acp_styles.php12
1 files changed, 10 insertions, 2 deletions
diff --git a/phpBB/includes/acp/acp_styles.php b/phpBB/includes/acp/acp_styles.php
index 1da2291e8f..1468555ded 100644
--- a/phpBB/includes/acp/acp_styles.php
+++ b/phpBB/includes/acp/acp_styles.php
@@ -933,7 +933,7 @@ pagination_sep = \'{PAGINATION_SEP}\'
if ((request_var($var, '') === '') || !in_array($unit, $units))
{
- continue 2;
+ $value = '';
}
break;
@@ -941,7 +941,7 @@ pagination_sep = \'{PAGINATION_SEP}\'
$value = str_replace('..', '.', request_var($var, ''));
if (!file_exists($value))
{
- continue 2;
+ $value = '';
}
break;
@@ -953,6 +953,14 @@ pagination_sep = \'{PAGINATION_SEP}\'
}
break;
+ case 'repeat':
+ $value = request_var($var, '');
+ if (!isset($repeat_types[$value]))
+ {
+ $value = '';
+ }
+ break;
+
default:
$value = request_var($var, '');
}