[BUGFIX] Turn isOnSymmetricSide into static function
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Classes / Database / RelationHandler.php
index 736f113..5aa9603 100644 (file)
@@ -1308,7 +1308,7 @@ class RelationHandler {
         * @return boolean Returns TRUE if looking from the symmetric ("other") side to the relation.
         * @todo Define visibility
         */
-       public function isOnSymmetricSide($parentUid, $parentConf, $childRec) {
+       static public function isOnSymmetricSide($parentUid, $parentConf, $childRec) {
                return MathUtility::canBeInterpretedAsInteger($childRec['uid'])
                        && $parentConf['symmetric_field']
                        && $parentUid == $childRec[$parentConf['symmetric_field']];