diff --git a/include/application_queue.php b/include/application_queue.php index 06533d8..82c8383 100644 --- a/include/application_queue.php +++ b/include/application_queue.php @@ -14,6 +14,9 @@ class application_queue { $this->oApp = new application($iAppId, $oRow); + $iVersionId = null; + $iVendorId = null; + /* If this is an existing application then there must be a version accompanying it */ if($this->oApp->iAppId) @@ -36,11 +39,6 @@ class application_queue } $iVendorId = $this->oApp->iVendorId; } - else - { - $iVersionId = null; - $iVendorId = null; - } $this->oVendor = new vendor($iVendorId);