joomla/joomla-cms — pull request #1406 by beat (2013-07-03 17:44:03+00:00)
Title: Fixes bug #31327 : Debug plugin (git master version only) doesn't catch SQL errors

As described here:
http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=31327

SQL SELECT queries with errors in them added an ugly fatal error at bottom of page with debug plugin enabled (git version only).

This pull request fixes it (and fixes a phpdoc inconsistency flagged by my IDE)