Passed
Push — master ( 243355...a36fcc )
by
unknown
15:02 queued 05:54
created
server/includes/modules/class.createmailitemmodule.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -211,7 +211,7 @@
 block discarded – undo
211 211
 								$data["info"]['display_message'] = _("You don't have the permission to complete this action");
212 212
 								$this->addActionData("error", $data);
213 213
 							}
214
-							if($error === "ecQuotaExceeded") {
214
+							if ($error === "ecQuotaExceeded") {
215 215
 								// Handling error: Send quota error
216 216
 								$data = [];
217 217
 								$data["type"] = 1; // MAPI
Please login to merge, or discard this patch.
index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -218,7 +218,7 @@
 block discarded – undo
218 218
 	}
219 219
 
220 220
 	$Language->setLanguage($lang);
221
-	setcookie('lang', $lang, [ 'lifetime' => time() + 31536000, 'path' => '/', 'domain' => '', 'secure' => true, 'httponly' => true, 'samesite' => 'Strict' ]);
221
+	setcookie('lang', $lang, ['lifetime' => time() + 31536000, 'path' => '/', 'domain' => '', 'secure' => true, 'httponly' => true, 'samesite' => 'Strict']);
222 222
 
223 223
 	// add extra header
224 224
 	header("X-grommunio: " . trim(file_get_contents('version')));
Please login to merge, or discard this patch.
server/includes/core/class.webappauthentication.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
 				WebAppAuthentication::_storeMAPISession(WebAppAuthentication::$_mapiSession->getSession());
186 186
 				$tmp = explode('@', $username);
187 187
 				if (count($tmp) == 2) {
188
-					setcookie('domainname', $tmp[1], [ 'lifetime' => time() + 31536000, 'path' => '/', 'domain' => '', 'secure' => true, 'httponly' => true, 'samesite' => 'Strict' ]);
188
+					setcookie('domainname', $tmp[1], ['lifetime' => time() + 31536000, 'path' => '/', 'domain' => '', 'secure' => true, 'httponly' => true, 'samesite' => 'Strict']);
189 189
 				}
190 190
 				$wa_title = WebAppAuthentication::$_mapiSession->getFullName();
191 191
 				$companyname = WebAppAuthentication::$_mapiSession->getCompanyName();
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
 					$wa_title .= " ({$companyname})";
194 194
 				}
195 195
 				if (strlen($wa_title) != 0) {
196
-					setcookie('webapp_title', $wa_title, [ 'lifetime' => time() + 31536000, 'path' => '/', 'domain' => '', 'secure' => true, 'httponly' => true, 'samesite' => 'Strict' ]);
196
+					setcookie('webapp_title', $wa_title, ['lifetime' => time() + 31536000, 'path' => '/', 'domain' => '', 'secure' => true, 'httponly' => true, 'samesite' => 'Strict']);
197 197
 				}
198 198
 			}
199 199
 			elseif (WebAppAuthentication::$_errorCode == MAPI_E_LOGON_FAILED || WebAppAuthentication::$_errorCode == MAPI_E_UNCONFIGURED) {
Please login to merge, or discard this patch.