WebbedIT got the right answer, just with some missing detail :)

The solution missed that the values to be assigned in an array must
use => !
So here the corrected solution:
[code]
$this->WishlistEntry->read(null, $entryId);
$this->WishlistEntry->set(array(
   'reservation_status' => 'FREE',
   'reservation_email' => 'NULL',
   'reservation_mail_sent' => 'NULL',
   'reservation_token' => String::uuid()
));
$this->WishlistEntry->save();
[/code]
Enjoy,
   John

On Feb 21, 6:36 pm, amarradi <radis...@googlemail.com> wrote:
> Thanks, This way also doesn't work. But why? I tested it in some ways.
> I dont't know why the reject Action works only with the status field.
>
[snip]

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to