[BUGFIX] Call fullQuoteStr with table argument in RootlineUtility
authorThomas Maroschik <tmaroschik@dfau.de>
Tue, 28 Aug 2012 17:13:31 +0000 (19:13 +0200)
committerThomas Maroschik <tmaroschik@dfau.de>
Tue, 28 Aug 2012 17:34:33 +0000 (19:34 +0200)
Change-Id: I344ca18dc42380a86ae8fdfb369f6849cbf3f4e7
Fixes: #40352
Related: #40095
Releases: 6.0
Reviewed-on: http://review.typo3.org/14164
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Thomas Maroschik
Tested-by: Thomas Maroschik
typo3/sysext/core/Classes/Utility/RootlineUtility.php

index 73bea94..1219f05 100644 (file)
@@ -249,7 +249,7 @@ class RootlineUtility {
                                        $whereClauseParts = array((('`' . $field) . '` = ') . intval($uid));
                                        if (isset($configuration['foreign_match_fields']) && is_array($configuration['foreign_match_fields'])) {
                                                foreach ($configuration['foreign_match_fields'] as $field => $value) {
-                                                       $whereClauseParts[] = (('`' . $field) . '` = ') . $GLOBALS['TYPO3_DB']->fullQuoteStr($value);
+                                                       $whereClauseParts[] = (('`' . $field) . '` = ') . $GLOBALS['TYPO3_DB']->fullQuoteStr($value, $table);
                                                }
                                        }
                                        if (isset($configuration['foreign_table_field'])) {