From: <Ex...@us...> - 2012-03-31 14:41:03
|
Revision: 5179 http://web-erp.svn.sourceforge.net/web-erp/?rev=5179&view=rev Author: ExsonQu Date: 2012-03-31 14:40:57 +0000 (Sat, 31 Mar 2012) Log Message: ----------- 31/3/2012 Exson: Fixed for PcAuthorizeExpenses.php cannot authorized expenses due to no applying gettext function to 'Update' Modified Paths: -------------- trunk/PcAuthorizeExpenses.php Modified: trunk/PcAuthorizeExpenses.php =================================================================== --- trunk/PcAuthorizeExpenses.php 2012-03-31 14:35:27 UTC (rev 5178) +++ trunk/PcAuthorizeExpenses.php 2012-03-31 14:40:57 UTC (rev 5179) @@ -101,8 +101,8 @@ while ($myrow=DB_fetch_array($result)) { $CurrDecimalPlaces = $myrow['decimalplaces']; //update database if update pressed - if ((isset($_POST['Submit']) - AND $_POST['Submit']=='Update') + if (isset($_POST['Submit']) + AND $_POST['Submit']==_('Update') AND isset($_POST[$myrow['counterindex']])){ $PeriodNo = GetPeriod(ConvertSQLDate($myrow['date']), $db); @@ -325,4 +325,4 @@ echo '</form>'; } /*end of else not submit */ include('includes/footer.inc'); -?> \ No newline at end of file +?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |