From: <ex...@us...> - 2013-11-05 01:30:52
|
Revision: 6390 http://sourceforge.net/p/web-erp/reponame/6390 Author: exsonqu Date: 2013-11-05 01:30:50 +0000 (Tue, 05 Nov 2013) Log Message: ----------- 5/11/2013 Phil: Fixed the warning error in GLAccountInquiry.php add change variable type to array to make min() and max() reasonable. Reported by Jo Modified Paths: -------------- trunk/GLAccountInquiry.php Modified: trunk/GLAccountInquiry.php =================================================================== --- trunk/GLAccountInquiry.php 2013-11-04 03:03:55 UTC (rev 6389) +++ trunk/GLAccountInquiry.php 2013-11-05 01:30:50 UTC (rev 6390) @@ -16,7 +16,7 @@ if (isset($_POST['Period'])){ $SelectedPeriod = $_POST['Period']; } elseif (isset($_GET['Period'])){ - $SelectedPeriod = $_GET['Period']; + $SelectedPeriod = array($_GET['Period']); } /* Get the start and periods, depending on how this script was called*/ @@ -336,4 +336,4 @@ echo '<p>' . $IntegrityReport; } include('includes/footer.inc'); -?> \ No newline at end of file +?> |