This will prevent PHP OOM errors due to a large amount of transactions. You can find navigation arrows at the top and fetch 30 transactions at a time. Fixes #267
12 lines
428 B
PHP
12 lines
428 B
PHP
<?php
|
|
|
|
// Make sure we are called from index.php
|
|
if (!defined('SECURITY')) die('Hacking attempt');
|
|
if ($user->isAuthenticated()) {
|
|
$aTransactions = $transaction->getAllTransactions(@$_REQUEST['start']);
|
|
if (!$aTransactions) $_SESSION['POPUP'][] = array('CONTENT' => 'Could not find any transaction', 'TYPE' => 'errormsg');
|
|
$smarty->assign('TRANSACTIONS', $aTransactions);
|
|
$smarty->assign('CONTENT', 'default.tpl');
|
|
}
|
|
?>
|