[Vtigercrm-commits] [vtiger development] #7153: Migration 521 to 530 syntax error
vtiger development
vtiger-tickets at trac.vtiger.com
Tue Oct 11 01:14:28 PDT 2011
#7153: Migration 521 to 530 syntax error
-----------------------+----------------------------------------------------
Reporter: joebordes | Owner: developer
Type: defect | Status: new
Priority: blocker | Milestone: 5.3.0
Component: vtigercrm | Version: wip
Keywords: |
-----------------------+----------------------------------------------------
Migration 521 to 530 syntax error
{{{
diff -r 07dbf1865747 modules/Migration/DBChanges/521_to_530.php
--- a/modules/Migration/DBChanges/521_to_530.php Tue Sep 20
17:56:21 2011 +0200
+++ b/modules/Migration/DBChanges/521_to_530.php Tue Oct 11
09:51:35 2011 +0200
@@ -351,7 +351,7 @@
$adb->pquery($sql, $params);
$result = $adb->pquery('SELECT organizationname FROM
vtiger_organizationdetails', array());
-$noOfCompanies = $adb->num_row($result);
+$noOfCompanies = $adb->num_rows($result);
if($noOfCompanies > 0) {
for($i=0; $i<$noOfCompanies; ++$i) {
$id = $adb->getUniqueID('vtiger_organizationdetails');
}}}
--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/7153>
vtiger development <http://trac.vtiger.com/>
vtigerCRM
More information about the vtigercrm-commits
mailing list