Development

Changeset 7565

You must first sign up to be able to contribute.

Changeset 7565

Show
Ignore:
Timestamp:
02/21/08 10:35:45 (5 years ago)
Author:
francois
Message:

sfPropelActAsCountableBehaviorPlugin Fixed wrong method check

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/sfPropelActAsCountableBehaviorPlugin/tags/0.1/lib/sfPropelActAsCountableBehavior.class.php

    r7552 r7565  
    177177                                 sfConfig::get('app_sfPropelActAsCountableBehaviorPlugin_count', array())); 
    178178 
    179     if ($count_options['enabled'] && is_callable(get_class($object), $count_options['method'])) 
     179    if ($count_options['enabled'] && is_callable(array(get_class($object), $count_options['method']))) 
    180180    { 
    181181      call_user_func(array($object, $count_options['method']), $object->_counter->getCounter());