Completed
Branch develop (fbba2b)
by
unknown
23:35
created
htdocs/core/modules/mailings/modules_mailings.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -347,7 +347,7 @@
 block discarded – undo
347 347
 						$part1 = $reg[1];
348 348
 
349 349
 						//$modName = ucfirst($reg[1]);
350
-						$modName = 'mailing_'.$reg[1];	// name of selector submodule
350
+						$modName = 'mailing_'.$reg[1]; // name of selector submodule
351 351
 						//print "file=$file modName=$modName"; exit;
352 352
 						if (in_array($modName, $modules)) {
353 353
 							$langs->load("errors");
Please login to merge, or discard this patch.
htdocs/core/tpl/login.tpl.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -165,7 +165,7 @@  discard block
 block discarded – undo
165 165
 	// Set a cookie to transfer rollback page information
166 166
 	$prefix = dol_getprefix('');
167 167
 	if (empty($_COOKIE["DOL_rollback_url_$prefix"])) {
168
-		setcookie('DOL_rollback_url_' . $prefix, $_SERVER['REQUEST_URI'], time() + 3600, '/');
168
+		setcookie('DOL_rollback_url_'.$prefix, $_SERVER['REQUEST_URI'], time() + 3600, '/');
169 169
 	}
170 170
 
171 171
 	// Auto redirect if OpenID Connect is the only authentication
@@ -173,10 +173,10 @@  discard block
 block discarded – undo
173 173
 		// Avoid redirection hell
174 174
 		if (empty(GETPOST('openid_mode'))) {
175 175
 			dol_include_once('/core/lib/openid_connect.lib.php');
176
-			header("Location: " . openid_connect_get_url(), true, 302);
176
+			header("Location: ".openid_connect_get_url(), true, 302);
177 177
 		} elseif (!empty($_SESSION['dol_loginmesg'])) {
178 178
 			// Show login error without the login form
179
-			print '<div class="center login_main_message"><div class="error">' . dol_escape_htmltag($_SESSION['dol_loginmesg']) . '</div></div>';
179
+			print '<div class="center login_main_message"><div class="error">'.dol_escape_htmltag($_SESSION['dol_loginmesg']).'</div></div>';
180 180
 		}
181 181
 		// We shouldn't continue executing this page
182 182
 		exit();
@@ -440,7 +440,7 @@  discard block
 block discarded – undo
440 440
 	if (!getDolGlobalString("MAIN_AUTHENTICATION_OPENID_URL")) {
441 441
 		$url = openid_connect_get_url();
442 442
 	} else {
443
-		$url = getDolGlobalString('MAIN_AUTHENTICATION_OPENID_URL').'&state=' . openid_connect_get_state();
443
+		$url = getDolGlobalString('MAIN_AUTHENTICATION_OPENID_URL').'&state='.openid_connect_get_state();
444 444
 	}
445 445
 	if (!empty($url)) {
446 446
 		print '<a class="alogin" href="'.$url.'">'.$langs->trans("LoginUsingOpenID").'</a>';
@@ -499,7 +499,7 @@  discard block
 block discarded – undo
499 499
 $message = '';
500 500
 // Show error message if defined
501 501
 if (!empty($_SESSION['dol_loginmesg'])) {
502
-	$message = $_SESSION['dol_loginmesg'];	// By default this is an error message
502
+	$message = $_SESSION['dol_loginmesg']; // By default this is an error message
503 503
 }
504 504
 if (!empty($message)) {
505 505
 	if (!empty($conf->use_javascript_ajax)) {
Please login to merge, or discard this patch.
htdocs/core/upload_page.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
 $help_url = '';
119 119
 
120 120
 // URL http://mydolibarr/core/search_page?dol_use_jmobile=1 can be used for tests
121
-$head = '<!-- Upload file -->'."\n";	// This is used by DoliDroid to know page is a search page
121
+$head = '<!-- Upload file -->'."\n"; // This is used by DoliDroid to know page is a search page
122 122
 $arrayofjs = array();
123 123
 $arrayofcss = array();
124 124
 
@@ -205,7 +205,7 @@  discard block
 block discarded – undo
205 205
 $maxphptoshowparam = $maxfilesizearray['maxphptoshowparam'];
206 206
 $out = '';
207 207
 if ($maxmin > 0) {
208
-	$out .= '<input type="hidden" name="MAX_FILE_SIZE" value="'.($maxmin * 1024).'">';	// MAX_FILE_SIZE must precede the field type=file
208
+	$out .= '<input type="hidden" name="MAX_FILE_SIZE" value="'.($maxmin * 1024).'">'; // MAX_FILE_SIZE must precede the field type=file
209 209
 }
210 210
 $out .= '<input class="hideobject" type="file" id="fileInput"';
211 211
 // @phpstan-ignore-next-line
Please login to merge, or discard this patch.
htdocs/core/actions_builddoc.inc.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -69,10 +69,10 @@
 block discarded – undo
69 69
 		// Special case to force bank account
70 70
 		if (GETPOSTINT('fk_bank')) {
71 71
 			// this field may come from an external module
72
-			$object->fk_bank = GETPOSTINT('fk_bank');	// For compatibility
72
+			$object->fk_bank = GETPOSTINT('fk_bank'); // For compatibility
73 73
 			$object->fk_account = GETPOSTINT('fk_bank');
74 74
 		} elseif (!empty($object->fk_account)) {
75
-			$object->fk_bank = $object->fk_account;		// For compatibility
75
+			$object->fk_bank = $object->fk_account; // For compatibility
76 76
 		}
77 77
 
78 78
 		$outputlangs = $langs;
Please login to merge, or discard this patch.