Diff of /adminer/include/editing.inc.php [6591d4] .. [b0666e] Maximize Restore

  Switch to side-by-side view

--- a/adminer/include/editing.inc.php
+++ b/adminer/include/editing.inc.php
@@ -367,7 +367,7 @@
 	$return = pack("a100a8a8a8a12a12", $filename, 644, 0, 0, decoct(strlen($contents)), decoct(time()));
 	$checksum = 8*32; // space for checksum itself
 	for ($i=0; $i < strlen($return); $i++) {
-		$checksum += ord($return{$i});
+		$checksum += ord($return[$i]);
 	}
 	$return .= sprintf("%06o", $checksum) . "\0 ";
 	return $return . str_repeat("\0", 512 - strlen($return)) . $contents . str_repeat("\0", 511 - (strlen($contents) + 511) % 512);