Ignore:
Timestamp:
Nov 29, 2009, 1:35:19 PM (14 years ago)
Author:
nikrou
Message:

Feature_1255 :

  • single quotes in queries
  • start using $confdblayer
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/include/functions.php

    r4334 r4385  
    417417{
    418418  $query = '
    419 SELECT id, if(id_uppercat is null,\'\',id_uppercat) AS id_uppercat, uppercats, rank, global_rank
     419SELECT id, id_uppercat, uppercats, rank, global_rank
    420420  FROM '.CATEGORIES_TABLE.'
    421421  ORDER BY id_uppercat,rank,name';
Note: See TracChangeset for help on using the changeset viewer.