diff options
-rw-r--r-- | core/models/item.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/models/item.php b/core/models/item.php index 4790e31a..9eaa2ed5 100644 --- a/core/models/item.php +++ b/core/models/item.php @@ -325,7 +325,7 @@ class Item_Model extends ORM_MPTT { * @param array $extra_attrs Extra attributes to add to the img tag * @return string */ - public function thumb_tag($extra_attrs, $max=null) { + public function thumb_tag($extra_attrs=array(), $max=null) { $width = $this->thumb_width; $height = $this->thumb_height; |