So are you suggesting that Krissy should set 'modified' in the data array to 
the value of 'modified' already in the record, which will give the appearance 
of not having changed the modification date?


On Feb 15, 2011, at 01:05, Dr. Tarique Sani wrote:

> Please read what I wrote :-)
> 
> If you set Modified in your data array then the value you set will be
> saved and will not be inserted automagically  - some of the relevant
> lines from Save method of modle.php are
> 
> foreach (array('created', 'updated', 'modified') as $field) {
>       if (array_key_exists($field, $v) && empty($v[$field])) {
>                       unset($v[$field]);
>       }
> }
> 
> 
> Got it?


-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to