Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2009
    Posts
    16
    Plugin Contributions
    0

    Default Which one should I choose :

    I'm merging the following 2 files:
    file 1: /includes/functions/html_output.php in
    http://www.zen-cart.com/forum/showpo...0&postcount=10
    and
    file 2:/includes/functions/html_output.php in
    the PHP 5.3 patch for v1.3.8a



    Which one should I choose :

    PHP Code:
    if ( $value == '~*~*#' && (isset($GLOBALS[$name]) && is_string($GLOBALS[$name])) && ($reinsert_value == true) ) { 
    or
    PHP Code:
    if ( (isset($GLOBALS[$name]) && is_string($GLOBALS[$name])) && ($reinsert_value == true) ) { 


    Which one should I choose :
    PHP Code:
    } elseif ($value != '~*~*#' && zen_not_null($value)) { 
    or
    PHP Code:
    } elseif (zen_not_null($value)) { 


    Amanda

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

    Default Re: Which one should I choose :

    The first one.

    But, I already answered that question in the other thread where you asked it.
    .

    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.

  3. #3
    Join Date
    Oct 2009
    Posts
    16
    Plugin Contributions
    0

    Default Re: Which one should I choose :

    There are 3 differences. You answered only to the 1. in the other thread .

    But, Thanks for quick response !
    Amanda

 

 

Similar Threads

  1. Replies: 4
    Last Post: 17 Jul 2015, 04:44 AM
  2. PayPal Option Questions: Which one do I choose?
    By cosmarchy in forum Basic Configuration
    Replies: 3
    Last Post: 24 May 2010, 06:00 PM
  3. which version should i choose?
    By goopensource in forum Contribution-Writing Guidelines
    Replies: 6
    Last Post: 17 Sep 2009, 12:39 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