avoid calling non existing method
This commit is contained in:
@@ -287,14 +287,6 @@ class AudioBook extends DbMapping
|
||||
}, $results->to_array());
|
||||
}
|
||||
|
||||
public function to_array()
|
||||
{
|
||||
if (!$this->loaded) {
|
||||
$this->loadDetails();
|
||||
}
|
||||
return parent::to_array();
|
||||
}
|
||||
|
||||
public function __set($name, $value)
|
||||
{
|
||||
if ($name == 'code' && is_string($value)) {
|
||||
|
||||
Reference in New Issue
Block a user