[Vtigercrm-commits] [vtiger-commits] r6139 - /vtigercrm/trunk/modules/Accounts/Account.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Wed May 17 17:52:26 EDT 2006


Author: jeffk
Date: Wed May 17 15:52:24 2006
New Revision: 6139

Log:
refs #795. follow doublequote convention for query variable

Modified:
    vtigercrm/trunk/modules/Accounts/Account.php

Modified: vtigercrm/trunk/modules/Accounts/Account.php
==============================================================================
--- vtigercrm/trunk/modules/Accounts/Account.php (original)
+++ vtigercrm/trunk/modules/Accounts/Account.php Wed May 17 15:52:24 2006
@@ -168,7 +168,7 @@
 		$returnset = '&return_module=Accounts&return_action=DetailView&return_id='.$id;
 
 		//SQL
-		$query = 'SELECT contactdetails.*,
+		$query = "SELECT contactdetails.*,
 				crmentity.crmid,
                         	crmentity.smownerid,
 				users.user_name
@@ -182,7 +182,7 @@
 			LEFT JOIN users
 				ON crmentity.smownerid = users.id
 			WHERE crmentity.deleted = 0
-			AND contactdetails.accountid = '.$id;
+			AND contactdetails.accountid = ".$id;
 		$log->debug("Exiting get_contacts method ...");
 		return GetRelatedList('Accounts','Contacts',$focus,$query,$button,$returnset);
 	}





More information about the vtigercrm-commits mailing list