Use triple-equals in a few more places
This commit is contained in:
1 parent
2174e1d08b
commit
49390c372d
8 files changed
+17
-17
No files matched your search
@@ -81,7 +81,7 @@ class FormView extends SubTemplate
|
||||
if ($field['type'] != 'checkbox' && isset($field['label']))
|
||||
echo '
|
||||
<dt class="cont_', $field_id, isset($field['tab_class']) ? ' target target-' . $field['tab_class'] : '', '"', in_array($field_id, $this->missing) ? ' style="color: red"' : '', '>', $field['label'], '</dt>';
|
||||
elseif ($field['type'] == 'checkbox' && isset($field['header']))
|
||||
elseif ($field['type'] === 'checkbox' && isset($field['header']))
|
||||
echo '
|
||||
<dt class="cont_', $field_id, isset($field['tab_class']) ? ' target target-' . $field['tab_class'] : '', '"', in_array($field_id, $this->missing) ? ' style="color: red"' : '', '>', $field['header'], '</dt>';
|
||||
|
||||
|
||||
Reference in new issue
Block a user