From: <ex...@us...> - 2014-07-27 00:27:11
|
Revision: 6795 http://sourceforge.net/p/web-erp/reponame/6795 Author: exsonqu Date: 2014-07-27 00:27:04 +0000 (Sun, 27 Jul 2014) Log Message: ----------- 27/07/14 Exson: Fixed the PO header lost initiator bugs when locations changed. Report by Akits from www.minghao.hk/bbs/. Modified Paths: -------------- trunk/PO_Header.php Modified: trunk/PO_Header.php =================================================================== --- trunk/PO_Header.php 2014-07-26 01:01:16 UTC (rev 6794) +++ trunk/PO_Header.php 2014-07-27 00:27:04 UTC (rev 6795) @@ -767,6 +767,9 @@ $_POST['InitiatorName'] = $_SESSION['UsersRealName']; $_POST['Requisition'] = ''; } + if (!isset($_POST['InitiatorName'])){ + $_POST['InitiatorName'] = $_SESSION['UsersRealName']; + } echo '<tr> <td>' . _('Initiated By') . ':</td> @@ -1173,4 +1176,4 @@ echo '</div> </form>'; include('includes/footer.inc'); -?> \ No newline at end of file +?> |