Completed
Branch develop (3ab0d1)
by
unknown
27:27
created
htdocs/user/class/api_users.class.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -347,8 +347,9 @@
 block discarded – undo
347 347
 		}
348 348
 
349 349
 		// check mandatory fields
350
-		if (!isset($request_data["login"]))
351
-			throw new RestException(500, "login field missing");
350
+		if (!isset($request_data["login"])) {
351
+					throw new RestException(500, "login field missing");
352
+		}
352 353
 		/*if (!isset($request_data["password"]))
353 354
 			throw new RestException(400, "password field missing");
354 355
 		if (!isset($request_data["lastname"]))
Please login to merge, or discard this patch.