summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}