diff options
author | Andreas Gohr <andi@splitbrain.org> | 2008-01-19 00:41:20 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2008-01-19 00:41:20 +0100 |
commit | 6f9bd982e2e77e466cfc4d6d33a2bd176700a3f1 (patch) | |
tree | 15be5ab46bde1180d268ee481db8c9ee39b18bed /inc/parser | |
parent | 3d45a99f3a9522953aad5954e35a811dc4986725 (diff) | |
download | rpg-6f9bd982e2e77e466cfc4d6d33a2bd176700a3f1.tar.gz rpg-6f9bd982e2e77e466cfc4d6d33a2bd176700a3f1.tar.bz2 |
prevent error on buggy syntax plugin FS#1218
darcs-hash:20080118234120-7ad00-01defe99eda2568ef91acc679a35b25e8bdc40ed.gz
Diffstat (limited to 'inc/parser')
-rw-r--r-- | inc/parser/parser.php | 2 |
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 ); } } |