summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2008-11-20 04:41:29 +0000
committerTim Almdal <tnalmdal@shaw.ca>2008-11-20 04:41:29 +0000
commit29cc48ebcf2f8c267a41815cb1cf0ea11f7326e2 (patch)
treef02f91b9d66c883765a25c1f49c1566c23cccc16 /core
parent611627231b6a712053e05734d7509b1d3751151b (diff)
Correct missing quotes
Diffstat (limited to 'core')
-rw-r--r--core/helpers/photo.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/helpers/photo.php b/core/helpers/photo.php
index 958e432a..126387d6 100644
--- a/core/helpers/photo.php
+++ b/core/helpers/photo.php
@@ -47,7 +47,7 @@ class Photo_Core {
$pi = pathinfo($name);
if (empty($pi["extension"])) {
$pi["extension"] = image_type_to_extension($image_info[2], false);
- $name .= "." . $pi[extension];
+ $name .= "." . $pi["extension"];
}
$photo = ORM::factory("item");