[Vtigercrm-commits] [vtiger-commits] r7576 - /vtigercrm/trunk/modules/Potentials/Charts.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Tue Jun 27 09:12:59 EDT 2006


Author: saraj
Date: Tue Jun 27 07:12:55 2006
New Revision: 7576

Log:
vtiger_ uppended in query

Modified:
    vtigercrm/trunk/modules/Potentials/Charts.php

Modified: vtigercrm/trunk/modules/Potentials/Charts.php
==============================================================================
--- vtigercrm/trunk/modules/Potentials/Charts.php (original)
+++ vtigercrm/trunk/modules/Potentials/Charts.php Tue Jun 27 07:12:55 2006
@@ -96,7 +96,7 @@
 			foreach ($user_id as $the_id) {
 				if (!$first) $where .= "OR ";
 				$first = false;
-				$where .= "crmentity.smcreatorid='$the_id' ";
+				$where .= "vtiger_crmentity.smcreatorid='$the_id' ";
 			}
 			$where .= ") ";
 
@@ -428,7 +428,7 @@
 				foreach ($user_id as $the_id) {
 					if (!$first) $where .= "OR ";
 					$first = false;
-					$where .= "crmentity.smcreatorid='$the_id' ";
+					$where .= "vtiger_crmentity.smcreatorid='$the_id' ";
 				}
 				$where .= ") ";
 			}
@@ -765,7 +765,7 @@
 					//reference post
 					//if I change the owner of a opportunity, the graph shown on Home does not update correctly, this is because the graph is looking for the creatorid and not for the ownerid
 					//fix incorporated based on /sak's feedback
-					$where .= "crmentity.smownerid='$the_id' ";
+					$where .= "vtiger_crmentity.smownerid='$the_id' ";
 				}
 				$where .= ") ";
 			}
@@ -1050,7 +1050,7 @@
 				foreach ($user_id as $the_id) {
 					if (!$first) $where .= "OR ";
 					$first = false;
-					$where .= "crmentity.smcreatorid='$the_id' ";
+					$where .= "vtiger_crmentity.smcreatorid='$the_id' ";
 				}
 				$where .= ") ";
 			}





More information about the vtigercrm-commits mailing list