diff options
| author | Meik Sievertsen <acydburn@phpbb.com> | 2003-04-23 20:50:07 +0000 |
|---|---|---|
| committer | Meik Sievertsen <acydburn@phpbb.com> | 2003-04-23 20:50:07 +0000 |
| commit | 444b49c50af2ada82e6dc995f70c9f8e107ae2a5 (patch) | |
| tree | 161bedef792c0e02750c0de8af2f0babb4c612ea /phpBB/includes/template.php | |
| parent | bec93ceb595a3b73613942dbeeefc311da92d597 (diff) | |
| download | forums-444b49c50af2ada82e6dc995f70c9f8e107ae2a5.tar forums-444b49c50af2ada82e6dc995f70c9f8e107ae2a5.tar.gz forums-444b49c50af2ada82e6dc995f70c9f8e107ae2a5.tar.bz2 forums-444b49c50af2ada82e6dc995f70c9f8e107ae2a5.tar.xz forums-444b49c50af2ada82e6dc995f70c9f8e107ae2a5.zip | |
replaced \' with ' in template to let it parse javascript correctly. admin_attachments.php changes. added real media streaming.
git-svn-id: file:///svn/phpbb/trunk@3932 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/template.php')
| -rw-r--r-- | phpBB/includes/template.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/template.php b/phpBB/includes/template.php index 631942f4bd..542ae39435 100644 --- a/phpBB/includes/template.php +++ b/phpBB/includes/template.php @@ -373,7 +373,7 @@ class Template $template_php = str_replace(' ?><?php ', '', $template_php); - return (!$no_echo) ? $template_php : "\$$echo_var .= '" . addslashes($template_php) . "'"; + return (!$no_echo) ? str_replace("\\'", "'", $template_php) : "\$$echo_var .= '" . addslashes($template_php) . "'"; } function compile_var_tags(&$text_blocks) |
