Skip to content
Permalink
Browse files
[plugin:code] change error reporting level ... orz ...
  • Loading branch information
nao-pon committed Mar 6, 2014
1 parent 0b42279 commit a295038
Showing 1 changed file with 1 addition and 1 deletion.
@@ -177,7 +177,7 @@ function plugin_code_convert()
$end = substr_count($lines, "\n") + $begin - 1;
}

$_err = error_reporting(E_ALL ^ E_NOTICE); // orz...
$_err = error_reporting(E_ERROR); // orz...
$highlight = new $this->config['codehighlightClassName']($this->xpwiki);
$lines = $highlight->highlight($lang, $lines, $option, $end, $begin);
error_reporting($_err);

0 comments on commit a295038

Please sign in to comment.