We are moving to Git Issues for bug tracking in future releases. During transition, content will be in both tools. If you'd like to file a new bug, please create an issue.

View | Details | Raw Unified | Return to bug 5132
Collapse All | Expand All

(-)pages/manager/ManagerPaymentHandler.orig.inc.php (+2 lines)
 Lines 79-84    Link Here 
79
	  * Display all payments previously made
79
	  * Display all payments previously made
80
	  */
80
	  */
81
	 function viewPayments($args) {
81
	 function viewPayments($args) {
82
		parent::validate();
82
		$rangeInfo = &Handler::getRangeInfo('CompletedPayments');
83
		$rangeInfo = &Handler::getRangeInfo('CompletedPayments');
83
		$paymentDao = &DAORegistry::getDAO('OJSCompletedPaymentDAO');
84
		$paymentDao = &DAORegistry::getDAO('OJSCompletedPaymentDAO');
84
		$journal =& Request::getJournal();
85
		$journal =& Request::getJournal();
 Lines 96-101    Link Here 
96
	  * Display a single Completed payment 
97
	  * Display a single Completed payment 
97
	  */
98
	  */
98
	 function viewPayment($args) {
99
	 function viewPayment($args) {
100
		parent::validate();
99
		$paymentDao = &DAORegistry::getDAO('OJSCompletedPaymentDAO');
101
		$paymentDao = &DAORegistry::getDAO('OJSCompletedPaymentDAO');
100
		$completedPaymentId = $args[0];
102
		$completedPaymentId = $args[0];
101
		$payment = &$paymentDao->getCompletedPayment($completedPaymentId);
103
		$payment = &$paymentDao->getCompletedPayment($completedPaymentId);

Return to bug 5132