summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Gohr <gohr@cosmocode.de>2014-04-09 10:27:52 +0200
committerAndreas Gohr <gohr@cosmocode.de>2014-04-09 10:27:52 +0200
commit481343c25e1c66a6bc789de47ea9f8e257b67be1 (patch)
tree27bf3411ecc240934c109cf54f663a456994b63d
parent246ce059ba001103f1f496cc117637fca3bb46ea (diff)
downloadrpg-481343c25e1c66a6bc789de47ea9f8e257b67be1.tar.gz
rpg-481343c25e1c66a6bc789de47ea9f8e257b67be1.tar.bz2
our code may only throw user errors
-rw-r--r--inc/plugin.php2
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;
}