From: Eileen McNaughton Date: Tue, 19 Nov 2013 02:32:39 +0000 (+1300) Subject: CRM-13737 drupal integration - opps - fix double negative that snuck in X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=f4a6cab846de0a2f1ee132c538b0232ebc1dc51c;p=civicrm-core.git CRM-13737 drupal integration - opps - fix double negative that snuck in --- 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;