[TYPO3-core] RFC: #7793: Argument 1 passed to t3lib_div::arrayToLogString() must not be null

Martin Kutschker martin.kutschker-n0spam at no5pam-blackbox.net
Sat Mar 15 17:59:41 CET 2008


Steffen Kamper schrieb:
> "Oliver Klee" <typo3-german-02 at oliverklee.de> schrieb im Newsbeitrag 
> news:mailman.1.1205584340.17683.typo3-team-core at lists.netfielders.de...
>> Hi,
>>
>> +1 after reading.
>>
>> To improve readability, I propose the following two changes:
>>
>>  if (is_array($storeControl)) {
>> +
>> + if ($this->writeDevLog) t3lib_div::devLog('Store command:
>> '.t3lib_div::arrayToLogString($storeControl), 't3lib_modSettings',
>>
>> - Please drop the empty line.
>> - use the following format for the if instead of putting all on one line:
>>
>> if (...) {
>>   ...
>> }

+1 after reading, but the change looks simple enough.

Masi


More information about the TYPO3-team-core mailing list