* Fixed bug #4556: PHP4 compatibility issues
authorMichael Stucki <michael.stucki@typo3.org>
Sun, 26 Nov 2006 00:43:24 +0000 (00:43 +0000)
committerMichael Stucki <michael.stucki@typo3.org>
Sun, 26 Nov 2006 00:43:24 +0000 (00:43 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@1816 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_loaddbgroup.php

index 08010cf..a6b04b9 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2006-11-26  Michael Stucki  <michael@typo3.org>
+
+       * Fixed bug #4556: PHP4 compatibility issues
+
 2006-11-21  Martin Kutschker  <martin.t.kutschker@blackbox.net>
 
        * New Feature: List users online (aka who is online) for BE users in Tools > User Manager
index 7a33cb0..8620fc4 100755 (executable)
@@ -471,7 +471,7 @@ class t3lib_loadDBGroup     {
                                        // fetch the current (not overwritten) relation record if we should handle symmetric relations
                                if ($conf['symmetric_field']) {
                                        $row = t3lib_BEfunc::getRecord($table,$uid,$fields,'',false);
-                                       $isOnSymmetricSide = self::isOnSymmetricSide($parentUid, $conf, $row);
+                                       $isOnSymmetricSide = t3lib_loadDBGroup::isOnSymmetricSide($parentUid, $conf, $row);
                                }
 
                                $updateValues = array();
@@ -665,7 +665,7 @@ class t3lib_loadDBGroup     {
         * @param       array           $childRec: The record row of the child record
         * @return      boolean         Returns true if looking from the symmetric ("other") side to the relation.
         */
-       static function isOnSymmetricSide($parentUid, $parentConf, $childRec) {
+       function isOnSymmetricSide($parentUid, $parentConf, $childRec) {
                return t3lib_div::testInt($childRec['uid']) && $parentConf['symmetric_field'] && $parentUid == $childRec[$parentConf['symmetric_field']]
                        ? true
                        : false;