pyrocms/pyrocms — pull request #1664 by Chronial (2012-08-01 02:13:07+00:00)
Title: styling of db error messages

The db error messages are not in a

, which makes the queries really hard to read when they get longer. This is shame since codeigniter actually formats them with newlines.

Adding them in a

causes other problems, as it disables line-wrapping and long queries will be unreadable again.

This fixes/avoids both these problems.