@@ -127,7 +127,9 @@ discard block |
||
127 | 127 | $show->submission_date(); |
128 | 128 | $show->remote_id(); |
129 | 129 | $this->codify($show->solution(),$show->getModel()->compiler->lang); |
130 | - if(!blank($show->getModel()->compile_info))$this->codify($show->compile_info()); |
|
130 | + if(!blank($show->getModel()->compile_info)) { |
|
131 | + $this->codify($show->compile_info()); |
|
132 | + } |
|
131 | 133 | $show->uid('UID'); |
132 | 134 | $show->pid('PID'); |
133 | 135 | $show->cid('CID'); |
@@ -143,7 +145,9 @@ discard block |
||
143 | 145 | $field->unescape()->as(function ($value) use ($field,$lang) { |
144 | 146 | $field->border = false; |
145 | 147 | $hash=md5($value); |
146 | - if($value===null || $value==="") $value=" "; |
|
148 | + if($value===null || $value==="") { |
|
149 | + $value=" "; |
|
150 | + } |
|
147 | 151 | return " |
148 | 152 | <style> |
149 | 153 | #x$hash { |