function securepages_get_query in Secure Pages 5
Same name and namespace in other branches
- 6 securepages.module \securepages_get_query()
Return a querystring without the q paramter
1 call to securepages_get_query()
- securepages_goto in ./
securepages.module - securepage_goto()
File
- ./
securepages.module, line 367
Code
function securepages_get_query($query) {
unset($query['q']);
$q = array();
foreach ($query as $key => $value) {
$q[] = drupal_urlencode($key) . '=' . drupal_urlencode($value);
}
return implode('&', $q);
}