瀏覽代碼

[Debug] Show errors

Foppe Hemminga 5 年之前
父節點
當前提交
1589647505
共有 1 個文件被更改,包括 1 次插入1 次删除
  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}">