summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source/libraries
diff options
context:
space:
mode:
authorvlakoff <vlakoff@gmail.com>2013-07-24 03:43:39 +0200
committervlakoff <vlakoff@gmail.com>2013-07-24 03:43:39 +0200
commit184cf1b5a719f4559767a221520d5ba96d1e4d8b (patch)
treed3b1060bc1610e961ab6c32d4be372c8459c19bb /user_guide_src/source/libraries
parent1eb59c99a4097f9cfdb99434a88a73535a5fbb57 (diff)
config->item() now returns NULL instead of FALSE when the required item doesn't exist.
Uniformization with other functions. This also brings the ability to properly use booleans in configuration.
Diffstat (limited to 'user_guide_src/source/libraries')
-rw-r--r--user_guide_src/source/libraries/config.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/user_guide_src/source/libraries/config.rst b/user_guide_src/source/libraries/config.rst
index 08d9c2905..654dc4ded 100644
--- a/user_guide_src/source/libraries/config.rst
+++ b/user_guide_src/source/libraries/config.rst
@@ -90,7 +90,7 @@ example, to fetch your language choice you'll do this::
$lang = $this->config->item('language');
-The function returns FALSE (boolean) if the item you are trying to fetch
+The function returns NULL if the item you are trying to fetch
does not exist.
If you are using the second parameter of the $this->config->load