mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-21 18:03:18 +01:00
- Bug #1237
git-svn-id: file:///svn/phpbb/trunk@5844 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
c57ebe71a9
commit
91925b93d8
@ -488,7 +488,7 @@ class template_compile
|
||||
// Are we a string?
|
||||
if ($match[3] && $match[5])
|
||||
{
|
||||
$match[4] = addslashes(str_replace(array('\\\'', '\\\\'), array('\'', '\\'), $match[4]));
|
||||
$match[4] = str_replace(array('\\\'', '\\\\', '\''), array('\'', '\\', '\\\''), $match[4]);
|
||||
|
||||
// Compile reference, we allow template variables in defines...
|
||||
$match[4] = $this->compile($match[4]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user