Fix phpcs
This commit is contained in:
parent
6b0092c30a
commit
040d22ef0a
@ -920,7 +920,7 @@ if (empty($reshook))
|
||||
if ($result > 0) {
|
||||
$ret = $object->fetch($object->id); // Reload to get new records
|
||||
$object->fetch_thirdparty();
|
||||
|
||||
|
||||
if (empty($conf->global->MAIN_DISABLE_PDF_AUTOUPDATE)) {
|
||||
// Define output language
|
||||
$outputlangs = $langs;
|
||||
|
||||
@ -1492,7 +1492,7 @@ class Form
|
||||
}
|
||||
|
||||
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>';
|
||||
|
||||
@ -96,7 +96,7 @@ while ($tmp != null)
|
||||
|
||||
// Generate the string tp allow a mass update (with a limit of MAXEMAILS per request).
|
||||
$emailsin = '';
|
||||
foreach($groupofemails as $email) {
|
||||
foreach ($groupofemails as $email) {
|
||||
$emailsin .= ($emailsin ? ", " : "")."'".$db->escape($email)."'";
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user