From: <dai...@us...> - 2014-10-29 06:29:25
|
Revision: 6951 http://sourceforge.net/p/web-erp/reponame/6951 Author: daintree Date: 2014-10-29 06:29:22 +0000 (Wed, 29 Oct 2014) Log Message: ----------- couple I missed Modified Paths: -------------- trunk/PcAuthorizeExpenses.php trunk/PcReportTab.php Modified: trunk/PcAuthorizeExpenses.php =================================================================== --- trunk/PcAuthorizeExpenses.php 2014-10-28 11:25:32 UTC (rev 6950) +++ trunk/PcAuthorizeExpenses.php 2014-10-29 06:29:22 UTC (rev 6951) @@ -168,7 +168,7 @@ '', '" . $TagTo ."')"; - $ResultFrom = DB_Query($sqlFrom, $db, '', '', true); + $ResultFrom = DB_Query($sqlFrom,'', '', true); $sqlTo="INSERT INTO `gltrans` (`counterindex`, `type`, @@ -195,7 +195,7 @@ '', '" . $TagTo ."')"; - $ResultTo = DB_Query($sqlTo, $db, '', '', true); + $ResultTo = DB_query($sqlTo,'', '', true); if ($myrow['codeexpense'] == 'ASSIGNCASH'){ // if it's a cash assignation we need to updated banktrans table as well. Modified: trunk/PcReportTab.php =================================================================== --- trunk/PcReportTab.php 2014-10-28 11:25:32 UTC (rev 6950) +++ trunk/PcReportTab.php 2014-10-29 06:29:22 UTC (rev 6951) @@ -120,7 +120,7 @@ $SqlTabs = "SELECT * FROM pctabs WHERE tabcode='".$SelectedTabs."'"; - $TabResult = DB_query($SqlTabs, $db, _('No Petty Cash tabs were returned by the SQL because'), _('The SQL that failed was:')); + $TabResult = DB_query($SqlTabs, _('No Petty Cash tabs were returned by the SQL because'), _('The SQL that failed was:')); $Tabs=DB_fetch_array($TabResult); |