[TYPO3-ttnews] Mistake in news_author_rel

Rupert Germann rupi at gmx.li
Mon May 25 10:04:07 CEST 2009


Hauke Hain wrote:
> I found a mistake (or it is due a change in TYPO3).
> In TYPO3 4.2 you have to change in line 23 the PHP function from
> in_array
> to
> array_key_exists
> in
> news_author_rel\ext_tables.php
> 
> Otherwise you can only use the be_users.

yes you're right.
reason is, that function admin_get_tables (class t3lib_db) was changed
between TYPO3 4.1 and 4.2. In earlier versions it called
mysql_list_tables(), now it calls mysql_query('SHOW TABLE STATUS FROM
TYPO3_db'... and that results in a different output of course.

thanks for the hint - I'll change this

greets
rupert




More information about the TYPO3-project-tt-news mailing list