It actually has more to do with MySQL, and PHP's interface to it. When destructuring query results, Cake will try to determine what table a particular field came from. But function results (i.e. SUM), don't come from a table, they're generated on the fly, so they just get thrown in the [0] index.
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
