Skip to content

Commit

Permalink
remove warning in billing.php
Browse files Browse the repository at this point in the history
  • Loading branch information
dleffler committed Mar 30, 2017
1 parent 4e9bacf commit eb0d8ec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion framework/modules/ecommerce/models/billing.php
Expand Up @@ -102,7 +102,8 @@ public function __construct($id=null) {
// $this->info = empty($this->calculator->id) ? '' : $this->calculator->userView($options);
$this->info = (empty($this->calculator->id) || empty($options)) ? '' : $this->calculator->userView($this->billingmethod);

foreach($this->available_calculators as $key => $item) {
$this->form = array();
foreach($this->available_calculators as $key => $item) {
if (class_exists($item)) {
$calc = new $item($key);
if (!expJavascript::inAjaxAction()) { //fixme kludge for now to get order pdf's to print out
Expand Down

0 comments on commit eb0d8ec

Please sign in to comment.