Ignore:
Timestamp:
Sep 19, 2007, 5:23:19 AM (17 years ago)
Author:
rvelices
Message:

merge -r 2094 from branch-1_7 to trunk

  • fix: quick search error if the query term contained " or '
  • optimized sql query in sync_users (called every time on admin page) - a lot faster when #user_cache_categories is big
  • added function Template->delete_block_vars (opposite of assign_block_vars)
File:
1 edited

Legend:

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

    r2091 r2095  
    386386
    387387    $template->assign_var_from_handle('CATEGORIES', 'thumbnails');
    388     unset( $template->_tpldata['thumbnails.'] );//maybe write a func for that
     388    $template->delete_block_vars('thumbnails', true); // category_default reuse them
    389389  }
    390390  trigger_action('loc_end_index_category_thumbnails', $categories);
Note: See TracChangeset for help on using the changeset viewer.