Clean up category class. Move category related functions into the class and remove now extranious
$catId parameter from category::display()
This commit is contained in:
@@ -506,7 +506,8 @@ class Application {
|
||||
apidb_header("Viewing App - ".$this->sName);
|
||||
|
||||
// cat display
|
||||
display_catpath($this->iCatId, $this->iAppId);
|
||||
$oCategory = new Category($this->iCatId);
|
||||
$oCategory->display($this->iAppId);
|
||||
|
||||
// set Vendor
|
||||
$oVendor = new Vendor($this->iVendorId);
|
||||
|
||||
Reference in New Issue
Block a user