summaryrefslogtreecommitdiff
path: root/inc/parser/parser.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/parser/parser.php')
-rw-r--r--inc/parser/parser.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/parser/parser.php b/inc/parser/parser.php
index 89ce4313d..38a59e256 100644
--- a/inc/parser/parser.php
+++ b/inc/parser/parser.php
@@ -156,7 +156,7 @@ class Doku_Parser_Mode {
function postConnect() {}
function accepts($mode) {
- return in_array($mode, $this->allowedModes );
+ return in_array($mode, (array) $this->allowedModes );
}
}