summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2017-09-16 16:27:29 +0200
committerGitHub <noreply@github.com>2017-09-16 16:27:29 +0200
commit4b9d8f2fa62b62616d2d1043a6faa39d40989070 (patch)
treea486e368d6e46e1304deb3dcd26c71141cd58f93
parent6607ca29fcf3da49ed562aefe4e3f8ceb91c32f1 (diff)
parent94bac7ab05cedb75c46ce75c546a268015eabd2e (diff)
[ci skip] Merge pull request #5265 from mehdibo/patch-1
Fixed dbprefix() documentation
-rw-r--r--user_guide_src/source/database/queries.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/user_guide_src/source/database/queries.rst b/user_guide_src/source/database/queries.rst
index f626f1e83..710ababb0 100644
--- a/user_guide_src/source/database/queries.rst
+++ b/user_guide_src/source/database/queries.rst
@@ -66,7 +66,7 @@ the following::
If for any reason you would like to change the prefix programatically
without needing to create a new connection, you can use this method::
- $this->db->set_dbprefix('newprefix');
+ $this->db->set_dbprefix('newprefix_');
$this->db->dbprefix('tablename'); // outputs newprefix_tablename