diff options
author | Andrey Andreev <narf@devilix.net> | 2013-07-27 17:10:13 +0200 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2013-07-27 17:10:13 +0200 |
commit | cccee50381def0777057e9b5803f7f26156c3d8e (patch) | |
tree | 6a02f47c889fdacbee235e7680a9ca2dcca30f04 /user_guide_src/source/libraries | |
parent | 627ef043db42b0cfee2620875339f488268519f1 (diff) | |
parent | c1044cb62e39709aa14f86a56bc950a78cfc713c (diff) |
Merge pull request #2554 from vlakoff/develop-3
config->item() now returns NULL instead of FALSE when the required item doesn't exist.
Diffstat (limited to 'user_guide_src/source/libraries')
-rw-r--r-- | user_guide_src/source/libraries/config.rst | 2 |
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 |