From d19f674da053e5bef8e74b38bf3cd11aaaebc787 Mon Sep 17 00:00:00 2001 From: tripathyr Date: Tue, 12 Apr 2022 17:02:56 +0530 Subject: [PATCH] Update loadMoreRecentTransactions.php --- ajax/loadMoreRecentTransactions.php | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/ajax/loadMoreRecentTransactions.php b/ajax/loadMoreRecentTransactions.php index b823e97..3adcb58 100644 --- a/ajax/loadMoreRecentTransactions.php +++ b/ajax/loadMoreRecentTransactions.php @@ -1,17 +1,8 @@ msg = array(); $std->error = true; @@ -21,7 +12,7 @@ if(isset($_POST['req']) && $_POST['req'] == 'loadMoreRecentTransactions') { $start = (int) $_POST['start']; $records = (int) $_POST['records_per_page']; - $megs = $OrderClass->last_transaction_list($start, $records); + $megs = last_transaction_list($start, $records); if (is_array($megs) && !empty($megs)) { $std->trade_list = $megs; @@ -29,5 +20,4 @@ if(isset($_POST['req']) && $_POST['req'] == 'loadMoreRecentTransactions') { } } echo json_encode($std); - } -} \ No newline at end of file +}