diff --git a/Documentation.html b/Documentation.html
index a6e44d056..036e85c61 100755
--- a/Documentation.html
+++ b/Documentation.html
@@ -1852,7 +1852,8 @@ Defaults to FALSE (drop-down).
Default queries that will be displayed in query boxes when user didn't
specify any. Use %d for database name, %t for table name and %f for a
- comma separated list of field names.
+ comma separated list of field names. Note that %t and %f are only
+ applicable to $cfg['DefaultQueryTable'].
diff --git a/config.inc.php b/config.inc.php
index 2e4cabf1b..8eab568b3 100644
--- a/config.inc.php
+++ b/config.inc.php
@@ -542,6 +542,7 @@ $cfg['ReplaceHelpImg'] = TRUE; // show help button instead of strDocume
* %d will be replaced by the database name.
* %t will be replaced by the table name.
* %f will be replaced by a list of field names.
+ * (%t and %f only applies to DefaultQueryTable)
*/
$cfg['DefaultQueryTable'] = 'SELECT * FROM %t WHERE 1';
$cfg['DefaultQueryDatabase'] = '';