Skip to content

Commit

Permalink
Fix missing $db into constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Jul 29, 2015
1 parent 5cea60c commit 068d235
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions htdocs/exports/export.php
Expand Up @@ -118,7 +118,7 @@
$objexport=new Export($db);
$objexport->load_arrays($user,$datatoexport);

$objmodelexport=new ModeleExports();
$objmodelexport=new ModeleExports($db);
$form = new Form($db);
$htmlother = new FormOther($db);
$formfile = new FormFile($db);
Expand Down Expand Up @@ -293,7 +293,7 @@
$hexafiltervalue.=$key.'='.$val;
}
}

$objexport->model_name = $export_name;
$objexport->datatoexport = $datatoexport;
$objexport->hexa = $hexa;
Expand Down

0 comments on commit 068d235

Please sign in to comment.