diff options
author | Nils Adermann <naderman@naderman.de> | 2006-05-21 01:08:31 +0000 |
---|---|---|
committer | Nils Adermann <naderman@naderman.de> | 2006-05-21 01:08:31 +0000 |
commit | 205c3245a5b0ecf7cb6641569e3decaa4423249b (patch) | |
tree | 556078994d45bfbefac62941b48380e4d3a380de /phpBB/includes/acp | |
parent | 5fb416fc26fdbf6d8f7141039f95aba3d3ef681d (diff) | |
download | forums-205c3245a5b0ecf7cb6641569e3decaa4423249b.tar forums-205c3245a5b0ecf7cb6641569e3decaa4423249b.tar.gz forums-205c3245a5b0ecf7cb6641569e3decaa4423249b.tar.bz2 forums-205c3245a5b0ecf7cb6641569e3decaa4423249b.tar.xz forums-205c3245a5b0ecf7cb6641569e3decaa4423249b.zip |
- fix some bugs in the theme editor
git-svn-id: file:///svn/phpbb/trunk@5954 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/acp')
-rw-r--r-- | phpBB/includes/acp/acp_styles.php | 12 |
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, ''); } |