stub of the row editor
This commit is contained in:
@@ -26,7 +26,9 @@ class BaseModel extends Model
|
||||
public function getRelationValue($key)
|
||||
{
|
||||
if ($this->exists && !method_exists($this, $key)) {
|
||||
throw new \LogicException("No attribute or relation ".var_export($key, true));
|
||||
if (!isset($this->original[$key])) {
|
||||
throw new \LogicException("No attribute or relation " . var_export($key, true));
|
||||
}
|
||||
}
|
||||
|
||||
return parent::getRelationValue($key);
|
||||
|
||||
Reference in New Issue
Block a user