From: <ex...@us...> - 2013-05-09 09:47:29
|
Revision: 5896 http://sourceforge.net/p/web-erp/reponame/5896 Author: exsonqu Date: 2013-05-09 09:47:22 +0000 (Thu, 09 May 2013) Log Message: ----------- 9/05/2013 Exson Fixed the hard coded date format in PcAssignCashToTab.php which leads to malfunction for other date format, reported by Thump. Modified Paths: -------------- trunk/PcAssignCashToTab.php Modified: trunk/PcAssignCashToTab.php =================================================================== --- trunk/PcAssignCashToTab.php 2013-05-09 04:33:34 UTC (rev 5895) +++ trunk/PcAssignCashToTab.php 2013-05-09 09:47:22 UTC (rev 5896) @@ -342,7 +342,7 @@ /* Ricard: needs revision of this date initialization */ if (!isset($_POST['Date'])) { - $_POST['Date']=Date('d/m/Y'); + $_POST['Date']=Date($_SESSION['DefaultDateFormat']); } echo '<br /><table class="selection">'; //Main table @@ -398,4 +398,4 @@ } include('includes/footer.inc'); -?> \ No newline at end of file +?> |