Development

Changeset 7478

You must first sign up to be able to contribute.

Changeset 7478

Show
Ignore:
Timestamp:
02/13/08 22:57:07 (9 months ago)
Author:
xavier
Message:

sfPropelActAsTaggableBehaviorPlugin appliad patch for is_callable use - refs #2934

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/sfPropelActAsTaggableBehaviorPlugin/trunk/lib/model/TagPeer.php

    r7475 r7478  
    336336    } 
    337337 
    338     if (!class_exists($model) || !is_callable(new $model, 'getPeer')) 
     338    if (!class_exists($model) || !is_callable(array(new $model, 'getPeer'))) 
    339339    { 
    340340      throw new PropelException(sprintf('The class "%s" does not exist, or it is not a model class.', 
     
    382382    if (isset($options['model'])) 
    383383    { 
    384       if (!class_exists($options['model']) || !is_callable(new $options['model'], 'getPeer')) 
     384      if (!class_exists($options['model']) || !is_callable(array(new $options['model'], 'getPeer'))) 
    385385      { 
    386386        throw new PropelException(sprintf('The class "%s" does not exist, or it is not a model class.',