Moving to GitHub.
[platal.git] / include / wiki / e-protect.php
index c6144c6..aa4132b 100644 (file)
@@ -119,7 +119,7 @@ function eProtectDecode ($CompressedEmailAddress,$AlternateText) {
 }\r
 \r
 //----------------------------------------------------------------------\r
-function eProtectEncode ($pagename,&$page,&$new) {\r
+function eProtectEncode ($pagename,$page,&$new) {\r
 //----------------------------------------------------------------------\r
   global $KeepToken, $KPV, $UrlExcludeChars;\r
   if (!@$_POST['post']) return; // only Encode, when posting\r
@@ -130,5 +130,5 @@ function eProtectEncode ($pagename,&$page,&$new) {
   $text = preg_replace("/$KeepToken(\\d+)$KeepToken/e",'$KPV[$1]',$text);   // put the [= .. =] back in to the text\r
   $new['text'] = $text;\r
 }\r
-// vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8:
+// vim:set et sw=4 sts=4 sws=4 foldmethod=marker fenc=utf-8:
 ?>