[TYPO3-ect] lib SVN: auto detection fails for 'user_myextname' extensions
Franz Koch
typo.removeformessage at fx-graefix.de
Fri Dec 14 10:07:09 CET 2007
Hi Elmar,
> thanks for testing the version in development. To think about the user_ case
> was to low in priority so far. I always worked with tx_ keys myself. If
> there is a bug, it can be fixed.
The bugfix is quite easy then, but should be tested with tx_ keys and
tx_keys_with_splitted_naming, because I think tx_keys with underscores
don't work either right now. But my bugfix should also fix this.
---- class.tx_lib_controllerBase.php, lines 73 and 74 ----------
if(preg_match('/^tx_([^_]+)/', $class, $matches) ||
preg_match('/^(user_([^_]+))/', $class, $matches)) {
$candidate = str_replace('_','',$matches[1]);
----------
That should do the trick.
--
Greetings,
Franz
More information about the TYPO3-team-extension-coordination
mailing list