Title: Errors in default template
Last modified: August 20, 2016

---

# Errors in default template

 *  Resolved [Karsonito](https://wordpress.org/support/users/karsonito/)
 * (@karsonito)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/errors-in-default-template/)
 * It seams I found 2 errors in default template [invoice_part2.php](http://plugins.svn.wordpress.org/eshop-invoice/tags/0.3.4/templates/default/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/](http://wordpress.org/extend/plugins/eshop-invoice/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [thomaslcq](https://wordpress.org/support/users/thomaslcq/)
 * (@thomaslcq)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/errors-in-default-template/#post-3511000)
 * Thanks for this, I’ve corrected the bug in the release and tagged 0.3.5 !
 * Cheers !
 * thomas
 *  Plugin Author [thomaslcq](https://wordpress.org/support/users/thomaslcq/)
 * (@thomaslcq)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/errors-in-default-template/#post-3511001)
 * closing

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Errors in default template’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/eshop-invoice.svg)
 * [eShop-invoice](https://wordpress.org/plugins/eshop-invoice/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/eshop-invoice/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/eshop-invoice/)
 * [Active Topics](https://wordpress.org/support/plugin/eshop-invoice/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/eshop-invoice/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/eshop-invoice/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [thomaslcq](https://wordpress.org/support/users/thomaslcq/)
 * Last activity: [13 years, 2 months ago](https://wordpress.org/support/topic/errors-in-default-template/#post-3511001)
 * Status: resolved