[TYPO3-core] RFC #8621: Whitespace and CGL cleanup for class.tx_opendocs.php

Niels Pardon mail at niels-pardon.de
Fri Jun 6 00:28:58 CEST 2008


Hi Stefano!

@@ -140,9 +141,9 @@
  		}

  		if(count($entries)) {
-			$content = '<table class="list" cellspacing="0" cellpadding="0" 
border="0">'.implode('', $entries).'</table>';
+			$content = '<table class="list" cellspacing="0" cellpadding="0" 
border="0">' . implode('', $entries) . '</table>';
  		} else {
-			$content = '<div 
class="no-docs">'.$GLOBALS['LANG']->getLL('no_docs', 1).'</div>';
+			$content = '<div class="no-docs">' . 
$GLOBALS['LANG']->getLL('no_docs', 1) . '</div>';
  		}

  		return $content;

Why do you use the second parameter value 1 in this special case and not 
true as in the other cases?

Greets,

Niels



More information about the TYPO3-team-core mailing list