Changeset 17207


Ignore:
Timestamp:
07/30/12 11:09:11 (7 years ago)
Author:
mistic100
Message:

don't diwplay SmartAlbum tab on physical categories

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/SmartAlbums/main.inc.php

    r17013 r17207  
    4646function smart_tab($sheets, $id) 
    4747{ 
    48   if ($id == 'album') 
     48  if ($id != 'album') return $sheets; 
     49   
     50  global $category; 
     51   
     52  if ($category['dir'] == null) 
    4953  { 
    5054    $sheets['smartalbum'] = array( 
Note: See TracChangeset for help on using the changeset viewer.