summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/models/item.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/models/item.php b/core/models/item.php
index 06372842..0ca40503 100644
--- a/core/models/item.php
+++ b/core/models/item.php
@@ -351,8 +351,8 @@ class Item_Model extends ORM_MPTT {
return "<img" . html::attributes(
array("src" => $this->resize_url(),
"alt" => $this->title,
- "width" => $resize_width,
- "height" => $resize_height)) .
+ "width" => $this->resize_width,
+ "height" => $this->resize_height)) .
"/>";
}