Completed
Pull Request — release-2.1 (#5180)
by Mathias
05:38
created
Sources/Subs-Db-mysql.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -419,7 +419,7 @@  discard block
 block discarded – undo
419 419
 		$old_pos = 0;
420 420
 		$pos = -1;
421 421
 		// Remove the string escape for better runtime
422
-		$db_string_1 = str_replace("''",'',$db_string);
422
+		$db_string_1 = str_replace("''", '', $db_string);
423 423
 		while (true)
424 424
 		{
425 425
 			$pos = strpos($db_string_1, "'", $pos + 1);
@@ -981,7 +981,7 @@  discard block
 block discarded – undo
981 981
 	else
982 982
 	{
983 983
 		$return = array();
984
-		while($row = mysqli_fetch_assoc($request))
984
+		while ($row = mysqli_fetch_assoc($request))
985 985
 			$return[] = $row;
986 986
 	}
987 987
 	return !empty($return) ? $return : array();
Please login to merge, or discard this patch.