From 2b33ee4b3055b5ac04673cc7d7b575473beb2c77 Mon Sep 17 00:00:00 2001
From: mcramer <m.cramer@pixcept.de>
Date: Fri, 05 Jul 2013 07:06:17 -0400
Subject: [PATCH] - fixed typo from previous commit

---
 server/cron_daily.php |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/server/cron_daily.php b/server/cron_daily.php
index 837e6a1..7c2d332 100644
--- a/server/cron_daily.php
+++ b/server/cron_daily.php
@@ -706,7 +706,7 @@
                             continue;
                         }
                         if($inHeader == true) {
-                            $parts = explode(':', $line[$l], 2);
+                            $parts = explode(':', $lines[$l], 2);
                             if(strtolower($parts[0]) == 'subject') $mailSubject = trim($parts[1]);
                             unset($parts);
                             $mailHeaders .= $lines[$l] . "\n";
@@ -855,7 +855,7 @@
                         continue;
                     }
                     if($inHeader == true) {
-                        $parts = explode(':', $line[$l], 2);
+                        $parts = explode(':', $lines[$l], 2);
                         if(strtolower($parts[0]) == 'subject') $mailSubject = trim($parts[1]);
                         unset($parts);
                         $mailHeaders .= $lines[$l] . "\n";
@@ -976,7 +976,7 @@
                         continue;
                     }
                     if($inHeader == true) {
-                        $parts = explode(':', $line[$l], 2);
+                        $parts = explode(':', $lines[$l], 2);
                         if(strtolower($parts[0]) == 'subject') $mailSubject = trim($parts[1]);
                         unset($parts);
                         $mailHeaders .= $lines[$l] . "\n";

--
Gitblit v1.9.1