Re: saveAll changing $this->data

2010-07-18 Thread tersmitten
What's in $this->save? On 13 jul, 17:31, Shaz wrote: > Oo interesting - it's removed 5 from 'asked' ad added it onto saving > and confusion. Post up the $this->save() code so we can see whats > going on. > > On 13 July, 12:01, tersmitten wrote: > > > I'm trying to save my $this->data which is (a

Re: saveAll changing $this->data

2010-07-13 Thread Shaz
Oo interesting - it's removed 5 from 'asked' ad added it onto saving and confusion. Post up the $this->save() code so we can see whats going on. On 13 July, 12:01, tersmitten wrote: > I'm trying to save my $this->data which is (already) a correct array. > But when I do and look at my queries it l

saveAll changing $this->data

2010-07-13 Thread tersmitten
I'm trying to save my $this->data which is (already) a correct array. But when I do and look at my queries it looks like saveAll has changed my array. Why? Original array: Array ( [Score] => Array ( [questionnaire_id] => 1 [asked] => 6 [saving] => 0.