Ignore:
Timestamp:
Feb 27, 2007, 2:56:16 AM (17 years ago)
Author:
rvelices
Message:
  • refactoring pagecategory before 1.7 release

pagecategory is not an id anymore, but an associative array of category info
all of pagecat_xxx or pageuppercats merged into one
simplifies calls to make_index_url
give plugins a clean start for page variables for version 1.7

File:
1 edited

Legend:

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

    r1859 r1861  
    158158  if ($user['show_nb_comments']
    159159      and isset($page['category'])
    160       and $page['cat_commentable'])
     160      and $page['category']['commentable'])
    161161  {
    162162    $query = '
Note: See TracChangeset for help on using the changeset viewer.