diff --git a/classes/package_flavors.php b/classes/package_flavors.php index 8818254d..571621e4 100644 --- a/classes/package_flavors.php +++ b/classes/package_flavors.php @@ -40,7 +40,7 @@ function FetchInitialise($PortID) { if ($this->LocalResult) { $numrows = pg_numrows($this->LocalResult); if ($numrows == 1) { - $myrow = pg_fetch_array($result, 0); + $myrow = pg_fetch_array($this->LocalResult, 0); } }