From 996836e7895e74e1bb9b98e131e483c9da6bc8c8 Mon Sep 17 00:00:00 2001
From: Nigel Cunningham <nigel@tuxonice.net>
Date: Fri, 1 Oct 2010 08:29:09 +1000
Subject: [PATCH 2/2] Make PHPMailer library path consistent.

Match our expectations of the PHPMailer library's path name with
those of other users. Change from PHPMailer to phpmailer.

Signed-off-by: Nigel Cunningham <nigel@tuxonice.net>
---
 og_mailinglist_utilities.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/og_mailinglist_utilities.inc b/og_mailinglist_utilities.inc
index 7da9a02..ab42b68 100644
--- a/og_mailinglist_utilities.inc
+++ b/og_mailinglist_utilities.inc
@@ -257,7 +257,7 @@ function og_mailinglist_phpmailer_load_library() {
     // First, try using libraries module.
     if (module_exists('libraries')) {
       // Let's see if PHPMailer is really available from libraries.
-      $phpmailer_library = './'. libraries_get_path('PHPMailer') .'/class.phpmailer.php';
+      $phpmailer_library = './'. libraries_get_path('phpmailer') .'/class.phpmailer.php';
       if (file_exists($phpmailer_library)) {
         include_once $phpmailer_library;
       }
-- 
1.7.0.4

