diff --git a/warpedit3.php b/warpedit3.php index 3ba44774f..47b1f6436 100644 --- a/warpedit3.php +++ b/warpedit3.php @@ -116,7 +116,7 @@ die(); } -$sql = "SELECT * FROM ::prefix::universe WHERE sector_id = :sector_id"; +$sql = "SELECT * FROM ::prefix::universe WHERE sector_id = :sector_id LIMIT 1"; $stmt = $pdo_db->prepare($sql); $stmt->bindParam(':sector_id', $target_sector, PDO::PARAM_INT); $stmt->execute();