[symfony-users] include_slot handling zero value wrong?

2011-03-02 Thread Sebastian Göttschkes
Hi, I was trying to do the following: ?php include_slot('test','0') ? To my surpirse, if the slot test is not set, it shows nothing at all and even if the slot is set to '0' it shows nothing at all. If I change it to '1' it works as expected. Am I doing something wrong? Regards, Sebastian --

Re: [symfony-users] include_slot handling zero value wrong?

2011-03-02 Thread Gareth McCumskey
AFAIK include_slot has only 1 parameter. You may be thinking of the slot() helper as mentioned here: http://www.symfony-project.org/gentle-introduction/1_4/en/07-Inside-the-View-Layer#chapter_07_sub_slots On 02/03/2011 12:35, Sebastian Göttschkes wrote: Hi, I was trying to do the following: