ClipperCMS/ClipperCMS — pull request #172 by kp52 (2013-02-08 10:35:29+00:00)
Title: Only log error if database selectable

If you can log in to the DB server (db->conn is a valid resource), but not select the Clipper database named in config.inc.php (so db->dbase is not set), there's no point trying to log errors in an unavailable database - you just get a lot of failure messages with an ever-increasing backslash frenzy.