mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -488,7 +488,7 @@ class template_compile
|
||||||
// Are we a string?
|
// Are we a string?
|
||||||
if ($match[3] && $match[5])
|
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...
|
// Compile reference, we allow template variables in defines...
|
||||||
$match[4] = $this->compile($match[4]);
|
$match[4] = $this->compile($match[4]);
|
||||||
|
|
Loading…
Add table
Reference in a new issue