summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2008-11-20 00:22:36 +0000
committerTim Almdal <tnalmdal@shaw.ca>2008-11-20 00:22:36 +0000
commitd48d71a7051b2426187a63f255f3563742fe49a0 (patch)
treeed869cbe0636aadce1fdcc31dbbce012a3bf2802 /core
parent223449fcbddf5beaa88e428554bbe7655b8e41c3 (diff)
Correct typo
Diffstat (limited to 'core')
-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 1c41805f..4481a3a9 100644
--- a/core/models/item.php
+++ b/core/models/item.php
@@ -77,9 +77,9 @@ class Item_Model extends ORM_MPTT {
public function thumbnail_url($full_uri=true) {
$func = $full_uri ? "abs_file" : "file";
if ($this->is_album()) {
- return $this->_relative_path(url::$func(""), "var/resizes", "", "/.thumb.jpg");
+ return $this->_relative_path(url::$func("") . "var/resizes", "", "/.thumb.jpg");
} else {
- return $this->_relative_path(url::$func(""), "var/resizes", ".thumb", "");
+ return $this->_relative_path(url::$func("") . "var/resizes", ".thumb", "");
}
}