Ignore:
Timestamp:
May 31, 2014, 8:50:30 PM (10 years ago)
Author:
rvelices
Message:

quick search - small fixes & improvements
available number of comments per user do not use visible_categories (only forbidden)

File:
1 edited

Legend:

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

    r28567 r28579  
    11771177    $dbValue = $value;
    11781178  }
    1179  
     1179
    11801180  $query = '
    11811181INSERT INTO
     
    11841184  ON DUPLICATE KEY UPDATE value = \''.$dbValue.'\'
    11851185;';
    1186  
     1186
    11871187  pwg_query($query);
    1188  
     1188
    11891189  if ($updateGlobal)
    11901190  {
     
    13691369    return $conf['filter_pages'][$page_name][$value_name];
    13701370  }
    1371   else if (isset($conf['filter_pages']['default'][$value_name]))
     1371  elseif (isset($conf['filter_pages']['default'][$value_name]))
    13721372  {
    13731373    return $conf['filter_pages']['default'][$value_name];
     
    19951995          (
    19961996            'forbidden_categories' => 'category_id',
    1997             'visible_categories' => 'category_id',
    1998             'visible_images' => 'ic.image_id'
     1997            'forbidden_images' => 'ic.image_id'
    19991998          ),
    20001999        '', true
Note: See TracChangeset for help on using the changeset viewer.