Fix calling nonexistent method getDefaultStatus() of DocumentItem

This commit is contained in:
Kijin Sung 2017-06-08 21:10:25 +09:00
parent 9d17528db6
commit ba2d4f1bc3

View file

@ -1145,7 +1145,7 @@ class documentItem extends Object
function getStatus()
{
if(!$this->get('status')) return $this->getDefaultStatus();
if(!$this->get('status')) return getClass('document')->getDefaultStatus();
return $this->get('status');
}