Development

Changeset 7211

You must first sign up to be able to contribute.

Changeset 7211

Show
Ignore:
Timestamp:
01/29/08 14:33:06 (1 year 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 

The Sensio Labs Network

Since 1998, Sensio Labs has been promoting the Open-Source software movement by providing quality web application development, training, consulting, and supporting several large Open-Source projects.