diff --git a/core/dbobject.class.php b/core/dbobject.class.php index 588670093..c07e2fad7 100644 --- a/core/dbobject.class.php +++ b/core/dbobject.class.php @@ -2405,7 +2405,7 @@ abstract class DBObject implements iDisplay catch (Exception $e) { $aErrors = array($e->getMessage()); - throw new CoreCannotSaveObjectException(array('id' => $this->GetKey(), 'class' => $sClass, 'issues' => $aErrors)); + throw new CoreCannotSaveObjectException(array('id' => $this->GetKey(), 'class' => get_class($this), 'issues' => $aErrors)); } finally {