Actions
Bug #15007
closedt3lib_svbase: Method init returns wrong value
Start date:
2005-10-05
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
3.8.0
PHP Version:
4
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
The method t3lib_svbase::init() should, according to inline documentation and usage in tslib_div::makeInstanceService() return a boolean value.
In case of an error the method returns the last error code instead of boolean false. Using this default implementation as template results in always signaling a service to be available.
Look at t3lib_svbase::init()
Change the last line to
return ( true === $this->getLastError() );
(issue imported from #M1527)
Actions