[TYPO3-core] FYI: #5983: Undefined variable is used in t3lib_BEfunc::exec_foreign_table_where_query

Steffen Gebert steffen at steffen-gebert.de
Sat Sep 18 15:16:46 CEST 2010


Hi!

The following change has been committed to
- trunk rev. 8809
- 4-4 rev. 8808

Type: Bugfix

Bugtracker reference:
http://bugs.typo3.org/view.php?id=5983

Problem:
loadTCA($foreign_table) is called, although $foreign_table hasn't been 
initialized, yet.

Solution:
Move the loadTCA() call down by one line, after $foreign_table got its 
value.

Credits go to Oliver Klee, who reported and fixed this more than 3 years 
ago. I now stumbled over the same, obvious issue.

Kind regards
Steffen

-- 
Steffen Gebert
TYPO3 Core Team Member
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 5983_v2.diff
Type: text/x-diff
Size: 666 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100918/421016b6/attachment.diff>


More information about the TYPO3-team-core mailing list