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 a295038953ffeb6e3c5a7e37b47191588b728c10
Showing with 1 addition and 1 deletion.
  1. +1 −1 xoops_trust_path/modules/xpwiki/plugin/code.inc.php
@@ -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.
You can’t perform that action at this time.