Laurent Destailleur 4 роки тому
батько
коміт
040d22ef0a

+ 1 - 1
htdocs/commande/card.php

@@ -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;

+ 1 - 1
htdocs/core/class/html.form.class.php

@@ -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' : '').'>&nbsp;</option>';

+ 1 - 1
scripts/emailings/reset-invalid-emails.php

@@ -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)."'";
 	}