Has anybody experienced problems with this behavior. When I tried the example that goes with the source, it worked quite well the first few times. After that, it suddenly stopped working.
http://bakery.cakephp.org/articles/view/actas-image-column-behavior Then I checked the code and it seems that it has some problems on the following line in the behavior's beforeSave() function. if ($this->__isUploadFile($model->data[$model->name][$field])) { $tempData[$field] = $model->data[$model->name] [$field]; $model->data[$model->name][$field]=$this- >__getContent($model->data[$model->name][$field]); } else { unset($model->data[$model->name][$field]); } --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
