diff options
author | Jennifer Hodgdon <yahgrp@poplarware.com> | 2014-08-20 05:33:45 -0700 |
---|---|---|
committer | Jennifer Hodgdon <yahgrp@poplarware.com> | 2014-08-20 05:33:45 -0700 |
commit | 8af676d68440e4909eb9f42a4a0189a266f2191a (patch) | |
tree | 9a151a60a880ec61242507d642c81c396d186f82 /includes/common.inc | |
parent | b5585495b9ae8768d3cbb91afd76afebeb31050d (diff) | |
download | brdo-8af676d68440e4909eb9f42a4a0189a266f2191a.tar.gz brdo-8af676d68440e4909eb9f42a4a0189a266f2191a.tar.bz2 |
Issue #2324083 by er.pushpinderrana, martin_q: Fix up description of return value from drupal_array_get_nested_value()
Diffstat (limited to 'includes/common.inc')
-rw-r--r-- | includes/common.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/includes/common.inc b/includes/common.inc index 477ecc0e2..63b691e48 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -6636,10 +6636,10 @@ function drupal_array_set_nested_value(array &$array, array $parents, $value, $f * $value = drupal_array_get_nested_value($form, $parents); * @endcode * - * The return value will be NULL, regardless of whether the actual value is NULL - * or whether the requested key does not exist. If it is required to know - * whether the nested array key actually exists, pass a third argument that is - * altered by reference: + * A return value of NULL is ambiguous, and can mean either that the requested + * key does not exist, or that the actual value is NULL. If it is required to + * know whether the nested array key actually exists, pass a third argument that + * is altered by reference: * @code * $key_exists = NULL; * $value = drupal_array_get_nested_value($form, $parents, $key_exists); |