Hi everyone,

I may just be being stupid here, but I'm trying to create dynamic 
criteria calls and I'm getting an error

$cton = $c->getNewCriterion(call_user_func(array($peer_class, $field)), 
$branchId);

yet I'm getting
"
*Warning*: call_user_func(LogPeer::BRANCH_ID) [function.call-user-func 
<http://agenda-dev.jbtwo.com/backend_dev.php/stats/function.call-user-func>]: 
First argument is expected to be a valid callback in"

This should work.... any ideas?

Jon


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" 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/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to