1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

- fix some bugs in the theme editor

git-svn-id: file:///svn/phpbb/trunk@5954 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Nils Adermann
2006-05-21 01:08:31 +00:00
parent 5fb416fc26
commit 205c3245a5
3 changed files with 17 additions and 7 deletions

View File

@@ -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, '');
}