#5652: [PATCH] for "Missing argument 2 for User::afterFind(), called in
dbo_source.php on line 866"
-----------------------------------+----------------------------------------
Reporter: eimermusic | Owner:
Type: Bug | Status: closed
Priority: Low | Milestone: 1.2.x.x
Component: Model | Version: RC3
Severity: Trivial | Resolution: worksforme
Keywords: afterFind, primary | Php_version: n/a
Cake_version: 1.2.0.7692 RC3 |
-----------------------------------+----------------------------------------
Comment (by eimermusic):
I hadn't even check back here until I saw RC4 and that the "false" was
still omitted.
As surprised as I am at the choice here you may want to then alter a
similar statement om line 700 (RC4) where false IS passed hard-coded. Just
to avoid someone leaping to the same conclusion I did. I looked at these
two lines and just assumed that adding "false" was preferable to requiring
a user-extended callback to specify a default value.
(I wont bother opening this or any new ticket for it since it doesn't
affect how the code works, only the minds of people reading the source)
--
Ticket URL: <https://trac.cakephp.org/ticket/5652#comment:2>
CakePHP : The Rapid Development Framework for PHP <https://trac.cakephp.org/>
Cake is a rapid development framework for PHP which uses commonly known design
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC.
Our primary goal is to provide a structured framework that enables PHP users at
all levels to rapidly develop robust web applications, without any loss to
flexibility.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"tickets cakephp" 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/tickets-cakephp?hl=en
-~----------~----~----~----~------~----~------~--~---