[TYPO3-core] RFC: fix bug #1986

Martin Kutschker Martin.Kutschker at blackbox.net
Mon Jan 2 10:27:03 CET 2006


This is a CVS patch request.

Branch: HEAD

Problem: In t3lib_db the connect and the db select issues PHP warning when it fails.

Solution: use @ and log the error in the error log (see other patch).

Masi

PS: There are some die()s in the code which IMHO should also be removed. Looking at the code I think the proper resoluition for them is simply to call devLog as the failures are non-fatal. 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-diff
Size: 1236 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060102/a6064e20/attachment.bin 


More information about the TYPO3-team-core mailing list