mirror of
https://github.com/openclassify/openclassify.git
synced 2026-02-09 23:06:08 -06:00
#4656 category image error
This commit is contained in:
parent
40d9214926
commit
7086912374
@ -16,8 +16,7 @@ class CategoryModel extends CatsCategoryEntryModel implements CategoryInterface
|
|||||||
if ($this->icon === null) {
|
if ($this->icon === null) {
|
||||||
return $this->dispatch(new MakeImageInstance('visiosoft.module.advs::images/listing/sample-cat-icon.svg', 'img'))->url();
|
return $this->dispatch(new MakeImageInstance('visiosoft.module.advs::images/listing/sample-cat-icon.svg', 'img'))->url();
|
||||||
}
|
}
|
||||||
|
return $this->dispatch(new MakeImageInstance($this->icon, 'img'))->url();
|
||||||
return url($this->icon);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getCat($id)
|
public function getCat($id)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user