Support » Plugin: eShop-invoice » Errors in default template

  • Resolved Karsonito

    (@karsonito)


    It seams I found 2 errors in default template invoice_part2.php:
    <img src="<?php echo $invoice_options['company_logo']; ?> alt='logo'">
    1. Last quote in wrong position
    2. No check for empty logo.

    Correct version should be:

    <?php if ($invoice_options['company_logo'] != "") { ?>
      <img src="<?php echo $invoice_options['company_logo']; ?>" alt='logo'>
    <?php } ?>

    Thanks for useful plugin!

    http://wordpress.org/extend/plugins/eshop-invoice/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Errors in default template’ is closed to new replies.