[TYPO3-seminars] Seminars don't take lodging and food options into account

Stefano Kowalke blueduck at gmx.net
Mon Jul 23 15:10:46 CEST 2012


Hey,

I commented this out, but forgot my custom TS in form.registration.step2 .

Thanks for the hint. It works now.

Regards
Stefano

Am 23.07.12 14:23, schrieb Oliver Klee:
> Hi,
> 
> Am 23.07.2012 14:11, schrieb Stefano Kowalke:
>> I found the reason for the issue in
>> seminars/class.tx_seminars_registration.php at line 214 and 219.
>>
>> 		$this->lodgings = (isset($registrationData['lodgings'])
>> 			&& is_array($registrationData['lodgings']))
>> 			? $registrationData['lodgings'] : array();
>> 		$this->recordData['lodgings'] = count($this->lodgings);
>>
>> $registrationData['lodgings'] isn't an array and the check ends up with
>> this->lodgings contains an emtpy array.
>>
>> @Olly: Why do you check for an array?
>>
>> I tested the whole process with the shipped template of version 0.9.4.
>> So I can exclude an issue with my custom template
> 
> Could you please check that the FORMidable configuration of the forms in
> the TS setup is not modified in your installation?
> 
> (IIRC, you changed your TS setup for
> https://bugs.oliverklee.com/show_bug.cgi?id=4317 .)
> 
> 
> Oli
> 



More information about the TYPO3-project-seminars mailing list