diff options
author | Cash Costello <cash.costello@gmail.com> | 2011-06-05 16:58:09 +0000 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2011-06-05 16:58:09 +0000 |
commit | fba844ea760259a3a317eb1454294bc6361e7b4a (patch) | |
tree | b6e29c667801e16066169327c83e2ecce58202d7 /actions | |
parent | 881307d9dc5dba4c73b6898a4079ef8f507a90e2 (diff) | |
download | elgg-fba844ea760259a3a317eb1454294bc6361e7b4a.tar.gz elgg-fba844ea760259a3a317eb1454294bc6361e7b4a.tar.bz2 |
Fixes #141 forcing the creation of album directory in user directories for group album
Diffstat (limited to 'actions')
-rw-r--r-- | actions/upload.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/upload.php b/actions/upload.php index c0496da96..3bbd97e60 100644 --- a/actions/upload.php +++ b/actions/upload.php @@ -105,11 +105,11 @@ foreach($_FILES as $key => $sent_file) { continue; } - //this will save to users folder in /image/ and organize by photo album + //this will save to user's folder in /image/ and organize by photo album $file = new TidypicsImage(); $file->container_guid = $album_guid; $file->setMimeType($mime); - $file->simpletype="image"; + $file->simpletype = "image"; $file->access_id = $access_id; //$file->title = substr($name, 0, strrpos($name, '.')); |