@@ -99,8 +99,9 @@ |
||
| 99 | 99 | } |
| 100 | 100 | |
| 101 | 101 | public function colCenter($colIndex){ |
| 102 | - if($this->hasPart("thead")) |
|
| 103 | - $this->getHeader()->colCenter($colIndex); |
|
| 102 | + if($this->hasPart("thead")) { |
|
| 103 | + $this->getHeader()->colCenter($colIndex); |
|
| 104 | + } |
|
| 104 | 105 | $this->getBody()->colCenter($colIndex); |
| 105 | 106 | return $this; |
| 106 | 107 | } |