@@ -124,7 +124,9 @@ |
||
| 124 | 124 | |
| 125 | 125 | $cid = Filter::get('cid'); |
| 126 | 126 | $certificate = null; |
| 127 | - if(!empty($cid)) $certificate = Certificate::getInstance($cid, $WT_TREE, null, $this->provider); |
|
| 127 | + if(!empty($cid)) { |
|
| 128 | + $certificate = Certificate::getInstance($cid, $WT_TREE, null, $this->provider); |
|
| 129 | + } |
|
| 128 | 130 | |
| 129 | 131 | $imageBuilder = new ImageBuilder($certificate); |
| 130 | 132 | |