[CLEANUP] Fix CGL with NULL value
authorXavier Perseguers <xavier@typo3.org>
Mon, 24 Oct 2011 17:37:49 +0000 (19:37 +0200)
committerSteffen Gebert <steffen.gebert@typo3.org>
Mon, 24 Oct 2011 17:53:28 +0000 (19:53 +0200)
Commit d7580828f176a6838f67c674ea764ea0fa56120e wrongly introduced
'null' value instead of 'NULL' as stated in our coding guidelines.

Change-Id: I94a96bca16a714bdaa1a5967ac510d8ac5c6154d
Related: #28297
Releases: 4.6
Reviewed-on: http://review.typo3.org/6253
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
t3lib/tree/pagetree/class.t3lib_tree_pagetree_dataprovider.php

index 2becef3..4cd6f23 100644 (file)
@@ -209,7 +209,7 @@ class t3lib_tree_pagetree_DataProvider extends t3lib_tree_AbstractDataProvider {
                                        $refNode->setLeaf(FALSE);
 
                                        $reference = $refNode->getChildNodes();
-                                       if ($reference == null) {
+                                       if ($reference == NULL) {
                                                $reference = t3lib_div::makeInstance('t3lib_tree_pagetree_NodeCollection');
                                                $refNode->setChildNodes($reference);
                                        }