diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2008-11-20 04:41:29 +0000 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2008-11-20 04:41:29 +0000 |
commit | 29cc48ebcf2f8c267a41815cb1cf0ea11f7326e2 (patch) | |
tree | f02f91b9d66c883765a25c1f49c1566c23cccc16 | |
parent | 611627231b6a712053e05734d7509b1d3751151b (diff) |
Correct missing quotes
-rw-r--r-- | core/helpers/photo.php | 2 |
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"); |