Doesn't work means the db-records are not updated, the saveField data
is not saved. it doesn't give me an error message or any entry in the
cake debug log though.
On 23 Okt., 18:40, "Wayne Fay" <[EMAIL PROTECTED]> wrote:
> What does "doesn't work" mean, can you be more specific? And can you
> provide the stack trace or some debug log?
>
> Wayne
>
> On 10/23/07, LW <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi,
> > i just updated to the new release (of 1.2) and I'm having one problem
> > I can't resolve:
>
> > I'm updating my db from a sortable list through this function:
>
> > function order_images(){
> > $ids= $this->params['form']['imgList'];
> > $i = 1;
> > foreach($ids as $id){
> > $this->Image->id = $id;
> > $this->Image->saveField('sort', $i++);
> > }
> > $this->autoRender = false;
> > }
>
> > It used to work fine befre the update, now it doesn't.
>
> > any ideas?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---