Permalink
Browse files

[legacy] fix forgot `static` keyword

  • Loading branch information...
nao-pon committed Apr 29, 2015
1 parent f40837f commit fb100b730d3c35079cbee04ec363061a3a10fb6a
Showing with 1 addition and 1 deletion.
  1. +1 −1 html/modules/legacy/kernel/Legacy_TextFilter.class.php
@@ -532,7 +532,7 @@ function preConvertXCode($text, $xcode = 1) {
return $text;
}
public function sMakePreXCodeConvertTable(&$patterns, &$replacements) {
public static function sMakePreXCodeConvertTable(&$patterns, &$replacements) {
$patterns[] = "/\[code\](.*)\[\/code\]/sU";
$replacements[] = create_function('$m', 'return \'[code]\'.base64_encode($m[1]).\'[/code]\';');
}

0 comments on commit fb100b7

Please sign in to comment.