Browse Source

[Debug] Show errors

Foppe Hemminga 5 năm trước cách đây
mục cha
commit
e3592dea79
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      snippets.php

+ 1 - 1
snippets.php

@@ -228,7 +228,7 @@ QUERY;
 	$stmt = $pdo->prepare($query);
 	// $player = $_REQUEST['player'];
 	// $maintainer = $_REQUEST['maintainer'];
-	$stmt->execute( [$maintainer, $player] );
+	$stmt->execute( [$maintainer[0], $player] );
 	$row = $stmt->fetch();
 
 	$snippets[4] = <<<HTML