Ignore:
Timestamp:
Nov 10, 2009, 10:20:34 PM (15 years ago)
Author:
LucMorizur
Message:

[Event Cats] Continue duplication management using cat_perm.php and cat_perm.tpl codes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/event_cats/include/evntcats_main_funcs.inc.php

    r4239 r4247  
    274274function build_ec_lists() {
    275275 
    276   global $ec_ap_ok, $template, $ec_lists;
     276  global $ec_ap_ok, $template, $ec_lists, $conf;
    277277 
    278278  $ec_lists = array();
     
    295295  $ec_lists['user_ids'] = array();
    296296  $q = pwg_query("
    297     SELECT `id`,`username`
     297    SELECT
     298      ".$conf['user_fields']['id']." AS id,
     299      ".$conf['user_fields']['username']." AS username
    298300    FROM `".USERS_TABLE."`
    299     WHERE `id` > 2
     301    WHERE id > 2
    300302  ");
    301303  while ($r = mysql_fetch_assoc($q))
Note: See TracChangeset for help on using the changeset viewer.