Ignore:
Timestamp:
Feb 27, 2007, 12:52:22 AM (17 years ago)
Author:
rvelices
Message:
  • bug 654: sql error on user comment (since my commit 1849)
  • languages: english corrections + keep lang files sorted by key
  • admin multi view correction: language was not always properly changed
  • refactor function get_computed_categories (with rub's blessing)
File:
1 edited

Legend:

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

    r1723 r1860  
    44// | Copyright (C) 2006-2007 PhpWebGallery Team - http://phpwebgallery.net |
    55// +-----------------------------------------------------------------------+
    6 // | branch        : BSF (Best So Far)
    76// | file          : $Id$
    87// | last update   : $Date$
     
    7675    // Need to compute dats
    7776    $filter['check_key'] = get_filter_check_key();
    78     $filter['categories'] = get_computed_categories($user['id'], $user['forbidden_categories'], true, $filter['recent_period']);
     77    $filter['categories'] = get_computed_categories($user, (int)$filter['recent_period']);
    7978
    8079    $filter['visible_categories'] = implode(',', array_keys($filter['categories']));
Note: See TracChangeset for help on using the changeset viewer.