@@ -47,8 +47,9 @@ |
||
47 | 47 | |
48 | 48 | public function addList($items = array(), $ordered = false) { |
49 | 49 | $list = new HtmlList("", $items); |
50 | - if ($ordered) |
|
51 | - $list->setOrdered(); |
|
50 | + if ($ordered) { |
|
51 | + $list->setOrdered(); |
|
52 | + } |
|
52 | 53 | $list->setClass("list"); |
53 | 54 | $this->content["list"] = $list; |
54 | 55 | return $list; |