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

Oliver Klee typo3-german-02 at oliverklee.de
Sat Mar 15 13:32:18 CET 2008


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 (...) {
   ...
}

Regards,


Oliver


More information about the TYPO3-team-core mailing list