Explorar o código

[Debug] Show errors

Foppe Hemminga %!s(int64=5) %!d(string=hai) anos
pai
achega
1589647505
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      snippets.php

+ 1 - 1
snippets.php

@@ -233,7 +233,7 @@ QUERY;
 	$player = $_REQUEST['player'];
 	$maintainer = $_REQUEST['maintainer'];
 	$stmt->execute( [$maintainer, $player] );
-	$row = $stmt->fetchAll()[0];
+	$row = $stmt->fetch();
 
 	$snippets[4] = <<<HTML
 	<form id="player_delete_${player}">