Skip to content

Commit a295038

Browse files
committed
[plugin:code] change error reporting level ... orz ...
1 parent 0b42279 commit a295038

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: xoops_trust_path/modules/xpwiki/plugin/code.inc.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ function plugin_code_convert()
177177
$end = substr_count($lines, "\n") + $begin - 1;
178178
}
179179

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

0 commit comments

Comments
 (0)