Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2010
    Posts
    29
    Plugin Contributions
    0

    Default split_page_results.php Typo?

    Hi,
    I'm not a php coder so I don't know if this is a typo or not.
    line93 strrpos

    v2.0.1
    includes/classes/split_page_results.php

    line87-93

    $pos_group_by = strpos($query_lower, ' group by', $pos_from);
    if (($pos_group_by < $pos_to) && ($pos_group_by != false)) $pos_to = $pos_group_by;

    $pos_having = strpos($query_lower, ' having', $pos_from);
    if (($pos_having < $pos_to) && ($pos_having != false)) $pos_to = $pos_having;

    $pos_order_by = strrpos($query_lower, ' order by', $pos_from);
    if (($pos_order_by < $pos_to) && ($pos_order_by != false)) $pos_to = $pos_order_by;


    v1.5.6
    includes/classes/split_page_results.php

    line60-67

    $pos_group_by = strpos($query_lower, ' group by', $pos_from);
    if (($pos_group_by < $pos_to) && ($pos_group_by != false)) $pos_to = $pos_group_by;

    $pos_having = strpos($query_lower, ' having', $pos_from);
    if (($pos_having < $pos_to) && ($pos_having != false)) $pos_to = $pos_having;

    $pos_order_by = strpos($query_lower, ' order by', $pos_from);
    if (($pos_order_by < $pos_to) && ($pos_order_by != false)) $pos_to = $pos_order_by;

  2. #2
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,281
    Plugin Contributions
    125

    Default Re: split_page_results.php Typo?

    That Software Guy. My Store: Zen Cart Support
    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.

 

 

Similar Threads

  1. Replies: 3
    Last Post: 14 Dec 2013, 01:32 PM
  2. 1064 sql error from mod in split_page_results.php ?
    By bonnit in forum Basic Configuration
    Replies: 2
    Last Post: 9 Aug 2011, 05:13 PM
  3. Replies: 0
    Last Post: 30 Apr 2010, 08:31 PM
  4. Replies: 3
    Last Post: 27 Jan 2007, 05:31 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