*
* @package CRM
* @copyright CiviCRM LLC https://civicrm.org/licensing
- * $Id$
- *
*/
/**
$query = NULL,
$absolute = FALSE,
$fragment = NULL,
- $htmlize = TRUE,
$frontend = FALSE,
- $forceBackend = FALSE
+ $forceBackend = FALSE,
+ $htmlize = TRUE
) {
$config = CRM_Core_Config::singleton();
static $script = 'index.php';
}
$base = $absolute ? $config->userFrameworkBaseURL : $config->useFrameworkRelativeBase;
- $separator = $htmlize ? '&' : '&';
+ $separator = ($htmlize && $frontend) ? '&' : '&';
if (!$config->cleanURL) {
if (isset($path)) {