[Commits] r626 - trunk/webinterface/mods/super/customers

new-commit at lists.openvcp.org new-commit at lists.openvcp.org
Sun Jun 8 09:16:40 UTC 2008


Author: cryptronic
Date: 2008-06-08 09:16:40 +0000 (Sun, 08 Jun 2008)
New Revision: 626

Modified:
   trunk/webinterface/mods/super/customers/main.php
Log:
Fixes: #226 again

Modified: trunk/webinterface/mods/super/customers/main.php
===================================================================
--- trunk/webinterface/mods/super/customers/main.php	2008-06-08 09:03:38 UTC (rev 625)
+++ trunk/webinterface/mods/super/customers/main.php	2008-06-08 09:16:40 UTC (rev 626)
@@ -80,8 +80,8 @@
 		else if($ok)
 		{
 			require_once("Sendmail.class.php");
-			$GUI->p(_("sending mail to")." ".$customer->getId());
-			$mail = new Sendmail("", $customer->getId());
+			$GUI->p(_("sending mail to")." ".$customer->getLoginname());
+			$mail = new Sendmail("", $USERINFO['id']);
 			$mail->setTo($customer->getEmailaddress());
 			$mail->setSubject($_POST['subject']);
 			$mail->setContent($_POST['mailbody']);



More information about the Commits mailing list