Permalink
Browse files

Merge pull request #105 from wesleyklewerton/master

Fixed bug of not creating thumb image for 'normal'. The absolute path was being assigned twice.
  • Loading branch information...
2 parents 46b5a8f + 04b84c9 commit 5cfa5b4eae115fc778ad56b1d93467b3f7de0fea @jrbasso committed Aug 29, 2012
Showing with 0 additions and 1 deletion.
  1. +0 −1 Model/Behavior/MeioUploadBehavior.php
@@ -906,7 +906,6 @@ function regenerateThumbnails(Model $model) {
* @access protected
*/
function _createThumbnails(&$model, $data, $fieldName, $saveAs, $ext, $options) {
- $saveAs = WWW_ROOT . $saveAs;
foreach ($options['thumbsizes'] as $key => $value) {
// Generate the name for the thumbnail
if (isset($options['uploadName']) && !empty($options['uploadName'])) {

0 comments on commit 5cfa5b4

Please sign in to comment.