Skip to content
Snippets Groups Projects
Commit f38a9ab0 authored by Seamus Lee's avatar Seamus Lee
Browse files

Only encode url if it is the front end in unit tests

parent 4fbb0745
No related branches found
No related tags found
No related merge requests found
......@@ -92,7 +92,7 @@ class CRM_Utils_System_UnitTests extends CRM_Utils_System_Base {
}
$base = $absolute ? $config->userFrameworkBaseURL : $config->useFrameworkRelativeBase;
$separator = $htmlize ? '&' : '&';
$separator = ($htmlize && $frontend) ? '&' : '&';
if (!$config->cleanURL) {
if (isset($path)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment