Changeset 3844


Ignore:
Timestamp:
09/13/09 20:04:24 (10 years ago)
Author:
vdigital
Message:

Correct the stripos test...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/akBookStyle/trunk/include/akContent.class.php

    r3843 r3844  
    4141    if ( isset($page['category']) ) { 
    4242      $cat_filter = $this->plugin_config->ak_categories; 
    43       $this->applicable = (stripos($page['category']['name'], $cat_filter) > 0) ? true:false; 
     43      $this->applicable = (stripos($page['category']['name'], $cat_filter) === false) ? false:true; 
    4444      if ( $this->applicable ) {  
    4545        $page['nb_image_page'] = $this->plugin_config->ak_by_page; 
Note: See TracChangeset for help on using the changeset viewer.