summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-03-16 11:33:14 +0000
committerBharat Mediratta <bharat@menalto.com>2009-03-16 11:33:14 +0000
commite92e6d4da42ca6fd273cf9b4b4042af2cd00af83 (patch)
tree1a57b16153d001aee4911794015728c254f01ff2
parent6a2e8ec1ccf5a44e4983c10db55bd293e4a735d9 (diff)
Oops, I used the wrong resize variables in my last change.
-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)) .
"/>";
}