Fix phpcs
This commit is contained in:
parent
6b0092c30a
commit
040d22ef0a
@ -1492,7 +1492,7 @@ class Form
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($htmlname != 'none' && !$options_only) {
|
if ($htmlname != 'none' && !$options_only) {
|
||||||
$out .= '<select class="flat'.($moreclass ? ' '.$moreclass : '').'"'.' id="'.$htmlid.'" name="'.$htmlname.(($num || empty($disableifempty)) ? '' : ' disabled').($multiple ? '[]' : '').'" '.($multiple ? 'multiple' : '').' '.(!empty($moreparam) ? $moreparam : '').'>';
|
$out .= '<select class="flat'.($moreclass ? ' '.$moreclass : '').'" id="'.$htmlid.'" name="'.$htmlname.(($num || empty($disableifempty)) ? '' : ' disabled').($multiple ? '[]' : '').'" '.($multiple ? 'multiple' : '').' '.(!empty($moreparam) ? $moreparam : '').'>';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (($showempty == 1 || ($showempty == 3 && $num > 1)) && !$multiple) $out .= '<option value="0"'.(in_array(0, $selected) ? ' selected' : '').'> </option>';
|
if (($showempty == 1 || ($showempty == 3 && $num > 1)) && !$multiple) $out .= '<option value="0"'.(in_array(0, $selected) ? ' selected' : '').'> </option>';
|
||||||
|
|||||||
@ -96,7 +96,7 @@ while ($tmp != null)
|
|||||||
|
|
||||||
// Generate the string tp allow a mass update (with a limit of MAXEMAILS per request).
|
// Generate the string tp allow a mass update (with a limit of MAXEMAILS per request).
|
||||||
$emailsin = '';
|
$emailsin = '';
|
||||||
foreach($groupofemails as $email) {
|
foreach ($groupofemails as $email) {
|
||||||
$emailsin .= ($emailsin ? ", " : "")."'".$db->escape($email)."'";
|
$emailsin .= ($emailsin ? ", " : "")."'".$db->escape($email)."'";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user