diff --git a/gateways/GatewaySources.php b/gateways/GatewaySources.php index 8b6847b..e083181 100644 --- a/gateways/GatewaySources.php +++ b/gateways/GatewaySources.php @@ -28,6 +28,7 @@ class GatewaySources $query = "SELECT * FROM sources"; $this->con->executeQuery($query, array()); $results=$this->con->getResults(); + $listeSources = array(); Foreach ($results as $source){ $listeSources[] = new Sources($source["link"]); }