Ignore:
Timestamp:
06/15/11 16:43:42 (8 years ago)
Author:
mistic100
Message:

fix a Fatal Error & mistake with config param

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/SmartAlbums/include/functions.inc.php

    r11380 r11381  
    3030  } 
    3131   
    32   if (!function_exists('set_rendom_representant')) 
     32  if (!function_exists('set_random_representant')) 
    3333  { 
    3434    include(PHPWG_ROOT_PATH.'admin/include/functions.php'); 
     
    5050  if (!is_array($conf['SmartAlbums'])) $conf['SmartAlbums'] = unserialize($conf['SmartAlbums']); 
    5151   
    52   if ( defined('SMART_NOT_UPDATE') OR $conf['SmartAlbums']['update_on_upload'] == 'false' ) return; 
     52  if ( defined('SMART_NOT_UPDATE') OR !$conf['SmartAlbums']['update_on_upload'] ) return; 
    5353   
    5454  /* get categories with smart filters */ 
Note: See TracChangeset for help on using the changeset viewer.