Jump to content

Vultur module trying to directly access $module_row from parent


mrrsm

Recommended Posts

Lines 901 and 904 of vultur.php are not using the new method calls to getModuleRow which causes them to error out as they try to directly access a private member of their parent class.

        // Get the available templates
        $templates = $this->getTemplates($this->module_row, $package);

        // Get the available locations
        $locations = $this->getLocations($this->module_row, $package);

They should probably look more like

        // Get the available templates
        $templates = $this->getTemplates($this->getModuleRow($package->module_row), $package);

        // Get the available locations
        $locations = $this->getLocations($this->getModuleRow($package->module_row), $package);

At least based on the other modules I looked at

Link to comment
Share on other sites

  • 3 weeks later...
  • Tyson locked this topic
Guest
This topic is now closed to further replies.
×
×
  • Create New...