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:
4bed4ff
)
dev/drupal#75 Drupal8: fix call to languageNegotiationURL() when called from cv
author
Mathieu Lutfy
<mathieu@symbiotic.coop>
Wed, 10 Jul 2019 00:07:16 +0000
(20:07 -0400)
committer
eileen
<emcnaughton@wikimedia.org>
Wed, 10 Jul 2019 05:10:14 +0000
(17:10 +1200)
CRM/Utils/System/Drupal8.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Utils/System/Drupal8.php
b/CRM/Utils/System/Drupal8.php
index 76b95801252fb80aef0a92063479aced69bcd87a..a8b8a0e94734b45cd36817f4377e1403c598c1f7 100644
(file)
--- a/
CRM/Utils/System/Drupal8.php
+++ b/
CRM/Utils/System/Drupal8.php
@@
-709,7
+709,7
@@
class CRM_Utils_System_Drupal8 extends CRM_Utils_System_DrupalBase {
// Drupal might not be bootstrapped if being called by the REST API.
if (!class_exists('Drupal') || !\Drupal::hasContainer()) {
- return
NULL
;
+ return
$url
;
}
$language = $this->getCurrentLanguage();