diff options
author | Andreas Gohr <andi@splitbrain.org> | 2006-02-23 21:57:26 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2006-02-23 21:57:26 +0100 |
commit | 0affd4885a0f1ff95446097f3faa5bcf1a519a25 (patch) | |
tree | 674ad2d736ab3605ffe1cf8c6c1f3271d612094f | |
parent | 1abfaba47f3c1c4352eb728afcd4b6871b7bb4a0 (diff) | |
download | rpg-0affd4885a0f1ff95446097f3faa5bcf1a519a25.tar.gz rpg-0affd4885a0f1ff95446097f3faa5bcf1a519a25.tar.bz2 |
endless loop fixed #727
darcs-hash:20060223205726-7ad00-9f68c6bb78a495b1a3b67835927a9d5452d05945.gz
-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 9950f28ce..4cdfdf5c2 100644 --- a/inc/parser/xhtml.php +++ b/inc/parser/xhtml.php @@ -1037,7 +1037,7 @@ class Doku_Renderer_xhtml extends Doku_Renderer { // make sure tiles are unique $num = ''; while(in_array($title.$num,$this->headers)){ - ($num) ? $num = 1 : $num++; + ($num) ? $num++ : $num = 1; } $title = $title.$num; $this->headers[] = $title; |