| 
      
      
      From: <tim...@us...> - 2011-04-01 19:34:50
      
     | 
| Revision: 4531
          http://web-erp.svn.sourceforge.net/web-erp/?rev=4531&view=rev
Author:   tim_schofield
Date:     2011-04-01 19:34:44 +0000 (Fri, 01 Apr 2011)
Log Message:
-----------
Correction for non English languages
Modified Paths:
--------------
    trunk/PcAuthorizeExpenses.php
Modified: trunk/PcAuthorizeExpenses.php
===================================================================
--- trunk/PcAuthorizeExpenses.php	2011-04-01 12:40:09 UTC (rev 4530)
+++ trunk/PcAuthorizeExpenses.php	2011-04-01 19:34:44 UTC (rev 4531)
@@ -94,7 +94,7 @@
 	while ($myrow=DB_fetch_array($result))	{
 
 		//update database if update pressed
-		if ((isset($_POST['submit']) and $_POST['submit']=='Update') AND isset($_POST[$myrow['counterindex']])){
+		if ((isset($_POST['submit']) and $_POST['submit']==_('Update')) AND isset($_POST[$myrow['counterindex']])){
 
 			$PeriodNo = GetPeriod(ConvertSQLDate($myrow['date']), $db);
 
@@ -296,4 +296,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.
 |