Update myTransactions.php
This commit is contained in:
parent
95983e695b
commit
c94dd23905
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user