diff options
author | petko <petko@524c5546-5005-0410-9a3e-e25e191bd360> | 2015-04-05 15:38:14 +0000 |
---|---|---|
committer | petko <petko@524c5546-5005-0410-9a3e-e25e191bd360> | 2015-04-05 15:38:14 +0000 |
commit | 2e4e63372a0ae063e2b1a6bb65852a69d36506ca (patch) | |
tree | bc610fa6ad2bf3883eb876493d776288137fcc62 | |
parent | 0c6c2bd90de36e24784dee75754060ef2e3bb0d9 (diff) | |
download | pmwiki.svn-2e4e63372a0ae063e2b1a6bb65852a69d36506ca.tar.bz2 |
Escape HTML special characters when printing failed callback creation.
git-svn-id: svn://pmwiki.org/pmwiki/trunk@3046 524c5546-5005-0410-9a3e-e25e191bd360
-rw-r--r-- | pmwiki.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -455,7 +455,7 @@ function PCCF($code, $template = 'default', $args = '$m') { if(!isset($CallbackFunctions[$code])) { $fn = create_function($args, $code); if($fn) $CallbackFunctions[$code] = $fn; - else StopWatch("Failed to create callback function: $code"); + else StopWatch("Failed to create callback function: ".PHSC($code)); } return $CallbackFunctions[$code]; } |