fix ticketing system error on bootstrap of new install
[freeside.git] / ng_selfservice / tickets_resolved.php
1 <? $title ='Resolved Tickets'; include('elements/header.php'); ?>
2 <? $current_menu = 'tickets_resolved.php'; include('elements/menu.php'); ?>
3 <?
4
5 $customer_info = $freeside->list_tickets( array(
6   'session_id' => $_COOKIE['session_id'],
7   'status'     => 'resolved',
8 ) );
9
10 if ( isset($customer_info['error']) && $customer_info['error'] ) {
11   $error = $customer_info['error'];
12   header('Location:index.php?error='. urlencode($error));
13   die();
14 }
15
16 extract($customer_info);
17
18 ?>
19 <? include('elements/ticketlist.php'); ?>
20
21 <? include('elements/menu_footer.php'); ?>
22 <? include('elements/footer.php'); ?>