Permalink
Browse files

check if variable is set (report #68)

  • Loading branch information...
1 parent 7b63fa9 commit 714eec850bdc96e0889655552fd64900fdc7c132 @haraldpdl haraldpdl committed Nov 7, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 catalog/checkout_shipping.php
@@ -296,7 +296,7 @@ function rowOutEffect(object) {
} else {
?>
- <td align="right" colspan="2"><?php echo $currencies->format(tep_add_tax($quotes[$i]['methods'][$j]['cost'], $quotes[$i]['tax'])) . tep_draw_hidden_field('shipping', $quotes[$i]['id'] . '_' . $quotes[$i]['methods'][$j]['id']); ?></td>
+ <td align="right" colspan="2"><?php echo $currencies->format(tep_add_tax($quotes[$i]['methods'][$j]['cost'], (isset($quotes[$i]['tax']) ? $quotes[$i]['tax'] : 0))) . tep_draw_hidden_field('shipping', $quotes[$i]['id'] . '_' . $quotes[$i]['methods'][$j]['id']); ?></td>
<?php
}

0 comments on commit 714eec8

Please sign in to comment.