Commit 5eedc1f7 authored by Dries's avatar Dries
Browse files

- Patch #937508 by amateescu: the documentation for arg() doesn't report what...

- Patch #937508 by amateescu: the documentation for arg() doesn't report what the function returns when it's called without arguments.
parent 95601106
......@@ -2467,7 +2467,8 @@ function request_path() {
*
* @return
* The component specified by $index, or NULL if the specified component was
* not found.
* not found. If called without arguments, it returns an array containing all
* the components of the current path.
*/
function arg($index = NULL, $path = NULL) {
// Even though $arguments doesn't need to be resettable for any functional
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment