Bug: "Expires on…" always appears above Price List

Bring Your Business to LifeSupportImage StoreBug: "Expires on…" always appears above Price List

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #50642
    Dave
    Participant

    After upgrading to version 3.1.7, when we display the price list using the shortcode [image-store list=11], the text “Expires 10/31/2012” appears above the price list.

    However, we have no expiration dates set on galleries, etc… anywhere.

    After a little investigating, this hack resolves the issue:

    Change /image-store/_inc/store.php line 1476 from:

    if ( $this->gal->post_expire != ‘0000-00-00 00:00:00’ )

    to:

    if ( isset($this->gal->post_expire) && $this->gal->post_expire != ‘0000-00-00 00:00:00’ )
    Because that value is empty and never evaluates to the date format in the if check here.

    Hope this is helpful and a fix makes it into the plugin 🙂

    #50677
    Xpark Media
    Keymaster

    thank you, will look into it.

    #50847
    Dave
    Participant

    Confirmed fixed in 3.1.8/9. Thanks again!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.