summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJennifer Hodgdon2012-11-10 15:19:11 (GMT)
committer Jennifer Hodgdon2012-11-10 15:19:11 (GMT)
commit7740ba5e2395934184217615aa5969a32c9b66d6 (patch)
treea996eb869207a4d9f54edb05175bf26a1a002a29
parent6ed7d0eaafa9aa22be7bc2e6469db6cf58cee696 (diff)
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 aa90eca..9121a35 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.