Skip to content

Commit

Permalink
Add note about identifier quoting in pdo error template.
Browse files Browse the repository at this point in the history
Hopefully that should avoid a few unnecessary tickets.
  • Loading branch information
ADmad committed Jul 20, 2014
1 parent 7fa7452 commit 3ca8d40
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Template/Error/pdo_error.ctp
Expand Up @@ -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>
Expand Down

0 comments on commit 3ca8d40

Please sign in to comment.