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:
@@ -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, '');
|
||||
}
|
||||
|
Reference in New Issue
Block a user