From aff04d6fc4dd5a63b0ee91427917287f8a5d928f Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Mon, 03 Jan 2011 02:15:51 -0500
Subject: [PATCH] - Fix errors in getACL() and myRights()

---
 program/lib/Net/SMTP.php |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/program/lib/Net/SMTP.php b/program/lib/Net/SMTP.php
index 8b9d967..31307f0 100644
--- a/program/lib/Net/SMTP.php
+++ b/program/lib/Net/SMTP.php
@@ -974,6 +974,8 @@
                 }
             }
         } else {
+            if (!isset($size))
+                $size = strlen($data);
             /*
              * Break up the data by sending one chunk (up to 512k) at a time.  
              * This approach reduces our peak memory usage.

--
Gitblit v1.9.1