Browse Source

Merge pull request #4030 from ADmad/3.0-pdo-error-msg

Add note about identifier quoting in pdo error template.
José Lorenzo Rodríguez 11 years ago
parent
commit
bfdae2bd07
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/Template/Error/pdo_error.ctp

+ 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>