cakephp/cakephp — pull request #857 by dereuromark (2012-09-18 20:54:15+00:00)
Title: avoiding "Indirect modification of overloaded property $paginate ... no effect"

After some research I found the issue described as warning in the book:

You can run into a situation where assigning a value to a nonexistent property will throw errors:
$this->paginate['limit'] = 10;
will throw the error “Notice: Indirect modification of overloaded property $paginate has no effect”.

but with this little fix we can make life easier without the notice.