Ignore:
Timestamp:
Nov 25, 2009, 8:02:57 PM (14 years ago)
Author:
nikrou
Message:

Feature 1255: modification in sql queries

  • manage random function
  • manage regex syntax
  • manage quote (single instead of double)
  • manage interval
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/functions_category.inc.php

    r4325 r4367  
    378378    OR ';
    379379    }
    380     $query.= 'uppercats REGEXP \'(^|,)'.$category_id.'(,|$)\'';
     380    $query.= 'uppercats '.DB_REGEX_OPERATOR.' \'(^|,)'.$category_id.'(,|$)\'';
    381381  }
    382382  $query.= '
Note: See TracChangeset for help on using the changeset viewer.