Index: trunk/phase3/includes/Skin.php |
— | — | @@ -1626,7 +1626,6 @@ |
1627 | 1627 | if (strpos($line, '**') !== 0) { |
1628 | 1628 | $line = trim($line, '* '); |
1629 | 1629 | $heading = $line; |
1630 | | - if( strlen($heading) == 0) $heading=''; |
1631 | 1630 | } else { |
1632 | 1631 | if (strpos($line, '|') !== false) { // sanity check |
1633 | 1632 | $line = explode( '|' , trim($line, '* '), 2 ); |
— | — | @@ -1650,6 +1649,7 @@ |
1651 | 1650 | } |
1652 | 1651 | } |
1653 | 1652 | |
| 1653 | + if( !isset($heading) ) $heading=''; |
1654 | 1654 | $bar[$heading][] = array( |
1655 | 1655 | 'text' => $text, |
1656 | 1656 | 'href' => $href, |