summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJennifer Hodgdon <yahgrp@poplarware.com>2012-11-10 07:19:11 -0800
committerJennifer Hodgdon <yahgrp@poplarware.com>2012-11-10 07:19:11 -0800
commit7740ba5e2395934184217615aa5969a32c9b66d6 (patch)
treea996eb869207a4d9f54edb05175bf26a1a002a29
parent6ed7d0eaafa9aa22be7bc2e6469db6cf58cee696 (diff)
downloadbrdo-7740ba5e2395934184217615aa5969a32c9b66d6.tar.gz
brdo-7740ba5e2395934184217615aa5969a32c9b66d6.tar.bz2
Issue #1492378 by kbasarab: follow-up docs correction on autocomplete paths
-rw-r--r--includes/form.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/includes/form.inc b/includes/form.inc
index aa90eca69..9121a35a8 100644
--- a/includes/form.inc
+++ b/includes/form.inc
@@ -3685,6 +3685,8 @@ function form_pre_render_fieldset($element) {
* array_shift($args);
* array_shift($args);
* // We store the user's original input in $keywords, including any slashes.
+ * // Note: A prepended or trailing slash will be removed. For example, if the
+ * // user enters '/a/few/words/' then $keywords will contain 'a/few/words'.
* $keywords = implode('/', $args);
*
* // Your code here.