diff options
author | Andreas Gohr <gohr@cosmocode.de> | 2014-04-09 10:27:52 +0200 |
---|---|---|
committer | Andreas Gohr <gohr@cosmocode.de> | 2014-04-09 10:27:52 +0200 |
commit | 481343c25e1c66a6bc789de47ea9f8e257b67be1 (patch) | |
tree | 27bf3411ecc240934c109cf54f663a456994b63d /inc/plugin.php | |
parent | 246ce059ba001103f1f496cc117637fca3bb46ea (diff) | |
download | rpg-481343c25e1c66a6bc789de47ea9f8e257b67be1.tar.gz rpg-481343c25e1c66a6bc789de47ea9f8e257b67be1.tar.bz2 |
our code may only throw user errors
Diffstat (limited to 'inc/plugin.php')
-rw-r--r-- | inc/plugin.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/plugin.php b/inc/plugin.php index 95bdaee2b..7de4fbd74 100644 --- a/inc/plugin.php +++ b/inc/plugin.php @@ -255,7 +255,7 @@ class DokuWiki_Plugin { if(!isset($arguments[1])) $arguments[1] = 'xhtml'; return $this->render_text($arguments[0], $arguments[1]); } - trigger_error("no such method $name", E_ERROR); + trigger_error("no such method $name", E_USER_ERROR); return null; } |