fixing missing transactions table
This commit is contained in:
parent
48d8d23efa
commit
cc046a286c
@ -2,7 +2,7 @@
|
||||
|
||||
// Make sure we are called from index.php
|
||||
if (!defined('SECURITY')) die('Hacking attempt');
|
||||
if (!$user->isAuthenticated()) {
|
||||
if ($user->isAuthenticated()) {
|
||||
$aTransactions = $transaction->getTransactions($_SESSION['USERDATA']['id']);
|
||||
if (!$aTransactions) $_SESSION['POPUP'][] = array('CONTENT' => 'Could not find any transaction', 'TYPE' => 'errormsg');
|
||||
$smarty->assign('TRANSACTIONS', $aTransactions);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user