From f4a6cab846de0a2f1ee132c538b0232ebc1dc51c Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Tue, 19 Nov 2013 15:32:39 +1300 Subject: [PATCH] CRM-13737 drupal integration - opps - fix double negative that snuck in --- CRM/Utils/System/DrupalBase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Utils/System/DrupalBase.php b/CRM/Utils/System/DrupalBase.php index af4d6e7874..84c4254fe7 100644 --- a/CRM/Utils/System/DrupalBase.php +++ b/CRM/Utils/System/DrupalBase.php @@ -117,7 +117,7 @@ abstract class CRM_Utils_System_DrupalBase extends CRM_Utils_System_Base { function appendCoreDirectoryToResourceBase($url) { global $civicrm_root; $lastDirectory = basename($civicrm_root); - if(!$lastDirectory != 'civicrm') { + if($lastDirectory != 'civicrm') { return $url .= $lastDirectory . '/'; } return $url; -- 2.25.1