diff options
author | Adrian Lang <lang@cosmocode.de> | 2010-06-17 16:39:24 +0200 |
---|---|---|
committer | Adrian Lang <lang@cosmocode.de> | 2010-06-17 16:39:24 +0200 |
commit | f46093a10c862c090052025b72d9e5b604f4f599 (patch) | |
tree | 02be324960a72445ba44cbd518d656c0d22ac132 /inc/parser/xhtml.php | |
parent | 44653a53fe7db9e1c14e4a1d1034cf63787139b3 (diff) | |
download | rpg-f46093a10c862c090052025b72d9e5b604f4f599.tar.gz rpg-f46093a10c862c090052025b72d9e5b604f4f599.tar.bz2 |
Make normal wikilinks work again
Diffstat (limited to 'inc/parser/xhtml.php')
-rw-r--r-- | inc/parser/xhtml.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php index 0ee04e5a1..f9a33fef0 100644 --- a/inc/parser/xhtml.php +++ b/inc/parser/xhtml.php @@ -562,7 +562,7 @@ class Doku_Renderer_xhtml extends Doku_Renderer { $params = array(); - if (preg_match('/^([^?]*)\?([^?]+)$/', $id, $matches) !== false) { + if (preg_match('/^([^?]*)\?([^?]+)$/', $id, $matches)) { $id = $matches[1]; preg_match_all('/(?<=[&^])([^=]+)=([^=]*)(?:&|$)/', $matches[2], $matches, PREG_SET_ORDER); |