projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8de2a34
)
Only encode url if it is the front end in unit tests
author
Seamus Lee
<seamuslee001@gmail.com>
Tue, 7 Jul 2020 02:17:51 +0000
(12:17 +1000)
committer
Seamus Lee
<seamuslee001@gmail.com>
Tue, 7 Jul 2020 02:17:51 +0000
(12:17 +1000)
CRM/Utils/System/UnitTests.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Utils/System/UnitTests.php
b/CRM/Utils/System/UnitTests.php
index 14762fff7f1f3e9f360bf051aa471f66ca48b578..ee53a4a2c4c45d3f93926f0506253d72bccbffbb 100644
(file)
--- a/
CRM/Utils/System/UnitTests.php
+++ b/
CRM/Utils/System/UnitTests.php
@@
-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)) {