[TYPO3-dam-devel] RFC #10015: dam tries to load $TCA['tt_news'] without checking whether the ext is loaded
Uschi Renziehausen
typo3news at otherone.de
Thu Dec 25 18:26:35 CET 2008
Hi all,
This is a SVN patch request.
Extension: dam
Version: trunk
Target Version: 1.1!
Type: Bugix
Reference: http://bugs.typo3.org/view.php?id=10015
Problem:
in binding/softref/extTables.php tries to load $TCA['tt_news'] without checking whether tt_news is loaded or not. In tt_news free installations that causes a PHP warning choosing Media>List and then
clicking on a page in the pagetree and when trying to check/update the reference index.
Solution:
Only load TCA for tt_news if tt_news is loaded.
The attached patch fixes this issue.
Kind regards and Merry Christmas to the team, Uschi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dam_10015_ttnews.diff
Type: text/x-diff
Size: 1253 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-dam/attachments/20081225/38494304/attachment.diff
More information about the TYPO3-team-dam
mailing list