fixed get_instance()
This commit is contained in:
@@ -17,15 +17,12 @@ class InvoiceSpreadsheet {
|
||||
private $invoiceSheet;
|
||||
private $fullpathname;
|
||||
private $filename;
|
||||
private $ci;
|
||||
|
||||
public function __construct( $invoiceReport )
|
||||
{
|
||||
$this->ci =& get_instance();
|
||||
|
||||
$this->invoiceReport = $invoiceReport;
|
||||
|
||||
$this->ci->load->helper( 'download' );
|
||||
helper('download');
|
||||
|
||||
$this->handle();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user