CRM-13737 drupal integration - opps - fix double negative that snuck in
authorEileen McNaughton <eileen@mcnaughty.com>
Tue, 19 Nov 2013 02:32:39 +0000 (15:32 +1300)
committerEileen McNaughton <eileen@mcnaughty.com>
Tue, 19 Nov 2013 02:32:39 +0000 (15:32 +1300)
CRM/Utils/System/DrupalBase.php

index af4d6e78749c891efa745169771c8131bccb0705..84c4254fe7664dda408028c50e1e9724804cd3cc 100644 (file)
@@ -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;