Merged r3686 into 0.10 branch and trunk
This commit is contained in:
parent
5b834e879d
commit
6fda95bfa7
@ -41,7 +41,7 @@ class Doctrine_Record_Filter_Standard extends Doctrine_Record_Filter
|
|||||||
*/
|
*/
|
||||||
public function filterSet(Doctrine_Record $record, $name, $value)
|
public function filterSet(Doctrine_Record $record, $name, $value)
|
||||||
{
|
{
|
||||||
throw new Doctrine_Record_Exception('Unknown record property / related component \'' . $name . '\'.');
|
throw new Doctrine_Record_Exception(sprintf('Unknown record property / related component "%s" on "%s"', $name, get_class($record)));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -52,6 +52,6 @@ class Doctrine_Record_Filter_Standard extends Doctrine_Record_Filter
|
|||||||
*/
|
*/
|
||||||
public function filterGet(Doctrine_Record $record, $name)
|
public function filterGet(Doctrine_Record $record, $name)
|
||||||
{
|
{
|
||||||
throw new Doctrine_Record_Exception('Unknown record property / related component \'' . $name . '\'.');
|
throw new Doctrine_Record_Exception(sprintf('Unknown record property / related component "%s" on "%s"', $name, get_class($record)));
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user