[EMAIL PROTECTED] wrote: > It seems, that the selectTag-function doesn't get an array. > So when the generateList-function doesn't find a set in the database it > does't return anything (not even an empty array). > > How can I solve my problem?
Assuming everything is working as it should in the core & your app, this really isn't a Cake issue at this point. Ummmm... test the result of the generateList function before sending it to the selectTag bit. If it doesn't return anything then pass an empty array to the selectTag, otherwise, pass the result. Just my two cents without having actually looked at your problem. Cheers, Matt -- BASIC: A programming language. Related to certain social diseases in that those who have it will not admit it in polite company. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
