summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruckelman <uckelman@nomic.net>2010-04-25 21:07:07 +0000
committeruckelman <uckelman@nomic.net>2010-04-25 21:07:07 +0000
commite3f5f766759a72334e3a24132c56e6746f6f886d (patch)
tree1e26a9d8e9a451a1e84670c97167f9b94c2815c5
parent6876084931da494c677df159a2d431abbed36197 (diff)
Removed stray case.
git-svn-id: https://vassalengine.svn.sourceforge.net/svnroot/vassalengine/site-src/trunk@6758 67b53d14-2c14-4ace-a08f-0dab2b34000c
-rw-r--r--src/BBCodeParser.php4
1 files changed, 1 insertions, 3 deletions
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;
}