Everywhere yoda conditions are
This commit is contained in:
1 parent
d74f6d1a53
commit
be0ab98895
213 files changed
+691
-412
No files matched your search
@@ -382,8 +382,7 @@ function wu_print_signup_field($field_slug, $field, $results) {
|
||||
case 'checkbox':
|
||||
$checked = isset($field['check_if']) && isset($result[$field['check_if']])
|
||||
|| (isset($field['check_if']) && isset($_POST[$field['check_if']]) && $_POST[$field['check_if']])
|
||||
|| (isset($field['checked']) && $field['checked'])
|
||||
? true : false;
|
||||
|| (isset($field['checked']) && $field['checked']);
|
||||
?>
|
||||
|
||||
<p>
|
||||
|
||||
Reference in new issue
Block a user