#15007t3lib_svbase: Method init returns wrong value
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)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.