diff options
Diffstat (limited to 'pmwiki.php')
-rw-r--r-- | pmwiki.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2868,7 +2868,7 @@ function HandleSource($pagename, $auth = 'read') { $page = RetrieveAuthPage($pagename, $auth, true, READPAGE_CURRENT); if (!$page) Abort("?cannot source $pagename"); - if (@$_REQUEST['highlight']) { + if (intval(@$_REQUEST['highlight'])) { $text = "<div class='pmhlt'><pre style='white-space: pre-wrap;'>" . str_replace('$', '$', PHSC(@$page['text'])).'</pre></div>'; |