Skip to content
Permalink
Browse files

Add note about identifier quoting in pdo error template.

Hopefully that should avoid a few unnecessary tickets.
  • Loading branch information...
ADmad committed Jul 20, 2014
1 parent 7fa7452 commit 3ca8d40963ecca78766fc4b528b6b182eec4cc5a
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/Template/Error/pdo_error.ctp
@@ -19,6 +19,10 @@ use Cake\Utility\Debugger;
<strong>Error: </strong>
<?= $message; ?>
</p>
<p class="notice">
If you are using SQL keywords as table column names, you can enable identifier
quoting for your database connection in src/Config/app.php.
</p>
<?php if (!empty($error->queryString)) : ?>
<p class="notice">
<strong>SQL Query: </strong>

0 comments on commit 3ca8d40

Please sign in to comment.
You can’t perform that action at this time.