[Vtigercrm-commits] [vtiger-commits] r4410 - /vtigercrm/trunk/modules/Invoice/Save.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Fri Mar 24 02:42:34 EST 2006


Author: saraj
Date: Fri Mar 24 00:42:19 2006
New Revision: 4410

Log:
moved the include of mail.php to first

Modified:
    vtigercrm/trunk/modules/Invoice/Save.php

Modified: vtigercrm/trunk/modules/Invoice/Save.php
==============================================================================
--- vtigercrm/trunk/modules/Invoice/Save.php (original)
+++ vtigercrm/trunk/modules/Invoice/Save.php Fri Mar 24 00:42:19 2006
@@ -23,8 +23,8 @@
 
 require_once('modules/Invoice/Invoice.php');
 require_once('include/logging.php');
-//require_once('database/DatabaseConnection.php');
 require_once('include/database/PearDatabase.php');
+include("modules/Emails/mail.php");
 
 $local_log =& LoggerManager::getLogger('index');
 
@@ -195,7 +195,6 @@
 		$body = str_replace('{REORDERLEVELVALUE}',$reorderlevel,$body);	
 		$body = str_replace('{CURRENTUSER}',$current_user->user_name,$body);	
 
-		include("modules/Emails/mail.php");
 		$mail_status = send_mail("Invoice",$to_address,$current_user->user_name,$current_user->email1,$subject,$body);
 	}
 }





More information about the vtigercrm-commits mailing list