From c7619e1738178148603596f12f3fc4a436ade946 Mon Sep 17 00:00:00 2001 From: thekabal Date: Fri, 20 Apr 2018 06:14:36 +0000 Subject: [PATCH] Define undefined variables to prevent an error --- lrscan.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lrscan.php b/lrscan.php index c24726e47..f84dbecc9 100644 --- a/lrscan.php +++ b/lrscan.php @@ -45,6 +45,8 @@ $sector = null; } +$image_string = null; + // Get playerinfo from database $players_gateway = new \Tki\Players\PlayersGateway($pdo_db); // Build a player gateway object to handle the SQL calls $playerinfo = $players_gateway->selectPlayerInfo($_SESSION['username']); @@ -219,6 +221,7 @@ else { // User requested a single sector (standard) long range scan + $links = array(); // Get sectorinfo from database $sectors_gateway = new \Tki\Sectors\SectorsGateway($pdo_db); // Build a sector gateway object to handle the SQL calls