Development

Changeset 7211

You must first sign up to be able to contribute.

Changeset 7211

Show
Ignore:
Timestamp:
01/29/08 14:33:06 (8 months ago)
Author:
pookey
Message:

improvement to exception thrown when calling non-existant method on the user object.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.1/lib/user/sfUser.class.php

    r6821 r7211  
    285285    if (!$event->isProcessed()) 
    286286    { 
    287       throw new sfException(sprintf('Call to undefined method sfUser::%s.', $method)); 
     287      throw new sfException(sprintf('Call to undefined method %s::%s.', get_class($this), $method)); 
    288288    } 
    289289