[Vtigercrm-commits] [vtiger-commits] r10908 - /vtigercrm/branches/5.0.3/soap/firefoxtoolbar.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Mon May 14 06:13:51 EDT 2007


Author: jerrydgeorge
Date: Mon May 14 04:13:38 2007
New Revision: 10908

Log:
Account dupication check has been refined

Modified:
    vtigercrm/branches/5.0.3/soap/firefoxtoolbar.php

Modified: vtigercrm/branches/5.0.3/soap/firefoxtoolbar.php
==============================================================================
--- vtigercrm/branches/5.0.3/soap/firefoxtoolbar.php (original)
+++ vtigercrm/branches/5.0.3/soap/firefoxtoolbar.php Mon May 14 04:13:38 2007
@@ -609,7 +609,7 @@
 		$result = $adb->query($query);
 	        if($adb->num_rows($result) > 0)
 		{
-			return "Account Name already exists";
+			return "Accounts";
 			die;
 		}
 		$account=new Accounts();
@@ -629,7 +629,7 @@
 		$account->column_fields['assigned_user_id']=$user_id;
 		$account->save('Accounts');
 		if($account->id != '')
-      return "Account added Sucessfully";
+      return "Success";
     else
       return "Error while adding Account.Try again";  
 	}





More information about the vtigercrm-commits mailing list