Changeset 8086 for branches/2.1/include/functions_url.inc.php
- Timestamp:
- Dec 11, 2010, 10:37:44 PM (13 years ago)
- Location:
- branches/2.1
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.1
- Property svn:mergeinfo changed
/trunk merged: 8079-8080,8082-8084
- Property svn:mergeinfo changed
-
branches/2.1/include/functions_url.inc.php
r6410 r8086 90 90 * @return string 91 91 */ 92 function add_url_params($url, $params )92 function add_url_params($url, $params, $arg_separator='&' ) 93 93 { 94 94 if ( !empty($params) ) … … 101 101 { 102 102 $is_first = false; 103 $url .= ( strpos($url, '?')===false ) ? '?' : '&';103 $url .= ( strpos($url, '?')===false ) ? '?' : $arg_separator; 104 104 } 105 105 else 106 106 { 107 $url .= '&';107 $url .= $arg_separator; 108 108 } 109 109 $url .= $param;
Note: See TracChangeset
for help on using the changeset viewer.