This commit is contained in:
snipe 2018-01-25 11:06:37 -08:00
parent e77aae703b
commit facf1d42f7

View file

@ -231,7 +231,7 @@ class Asset extends Depreciable
*/
public function get_depreciation()
{
if ($this->model) {
if (($this->model) && ($this->model->depreciation)) {
return $this->model->depreciation;
}
}