Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,622
    Plugin Contributions
    123

    Default [Fixed v1.5.1] Additional check required in includes/functions/functions_email.php

    line 115 needs to check if EMAIL_DISCLAIMER is empty, i.e.

    Code:
            if (EMAIL_DISCLAIMER != '' && !strstr($email_text, sprintf(EMAIL_DISCLAIMER, STORE_OWNER_EMAIL_ADDRESS)) && $to_email_address != STORE_OWNER_EMAIL_ADDRESS && !defined('EMAIL_DISCLAIMER_NEW_CUSTOMER')) $email_text .= "\n" . sprintf(EMAIL_DISCLAIMER, STORE_OWNER_EMAIL_ADDRESS);
    without this you get

    [18-Mar-2012 03:20:04] PHP Warning: strstr() [<a href='function.strstr'>function.strstr</a>]: Empty delimiter in /var/www/vhosts/pier1.meyers.com/httpdocs/includes/functions/functions_email.php on line 115
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: [Fixed v1.5.1] Additional check required in includes/functions/functions_email.ph

    Fixed v1.5.1
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. v153 v153 includes/functions/functions_email.php BUG
    By dee_d_lady in forum Bug Reports
    Replies: 1
    Last Post: 3 Sep 2014, 08:05 PM
  2. v151 admin/includes/functions/compatibility.php
    By makenoiz in forum Upgrading to 1.5.x
    Replies: 6
    Last Post: 11 Dec 2012, 11:53 PM
  3. Replies: 7
    Last Post: 11 Oct 2012, 07:50 PM
  4. /includes/functions/sessions.php on line 61
    By dustyservers in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 5 Dec 2006, 02:21 AM
  5. Replies: 2
    Last Post: 28 Sep 2006, 10:26 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR