From e3f5f766759a72334e3a24132c56e6746f6f886d Mon Sep 17 00:00:00 2001 From: uckelman Date: Sun, 25 Apr 2010 21:07:07 +0000 Subject: Removed stray case. git-svn-id: https://vassalengine.svn.sourceforge.net/svnroot/vassalengine/site-src/trunk@6758 67b53d14-2c14-4ace-a08f-0dab2b34000c --- src/BBCodeParser.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src') diff --git a/src/BBCodeParser.php b/src/BBCodeParser.php index 344b5e6..bb4012f 100644 --- a/src/BBCodeParser.php +++ b/src/BBCodeParser.php @@ -102,9 +102,7 @@ class BBCodeParser { $out .= "\n" . str_repeat(' ', count($list_counter_stack)); $c = array_pop($list_counter_stack); - if ($c == '*') { - } - else if (is_int($c)) { + if (is_int($c)) { $out .= $c . '. '; $list_counter_stack[] = $c + 1; } -- cgit v1.2.3