Update myTransactions.php

This commit is contained in:
tripathyr 2022-04-12 17:07:40 +05:30 committed by GitHub
parent 95983e695b
commit c94dd23905
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,11 +1,4 @@
<?php
/**
* Created by PhpStorm.
* User: Abhishek Sinha
* Date: 6/24/2017
* Time: 8:38 PM
*/
require_once '../includes/imp_files.php';
if (!checkLoginStatus()) {
@ -18,9 +11,9 @@ if (isset($_POST['task']) && trim($_POST['task'])=='myTransactions') {
$std->trade_list = array();
$std->error = true;
if (isset($UserClass, $user_id)) {
if (isset($user_id)) {
$tradeList = $UserClass->displayUserTransaction($user_id, 0, 10);
$tradeList = displayUserTransaction($user_id, 0, 10);
$std->trade_list = $tradeList;
$std->error = false;
@ -30,4 +23,4 @@ if (isset($_POST['task']) && trim($_POST['task'])=='myTransactions') {
} else {
return false;
}
}