Parcourir la source

[Debug] Show errors

Foppe Hemminga il y a 5 ans
Parent
commit
e3592dea79
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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