Changeset 7565
- Timestamp:
- 02/21/08 10:35:45 (5 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
plugins/sfPropelActAsCountableBehaviorPlugin/tags/0.1/lib/sfPropelActAsCountableBehavior.class.php
r7552 r7565 177 177 sfConfig::get('app_sfPropelActAsCountableBehaviorPlugin_count', array())); 178 178 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']))) 180 180 { 181 181 call_user_func(array($object, $count_options['method']), $object->_counter->getCounter());