BUGFIX: make the DMSDocument_Controller to able able to use customised document object

This commit is contained in:
Normann Lou 2012-08-21 13:56:45 +12:00
parent 725da88e75
commit 889d56d569

View File

@ -697,6 +697,7 @@ class DMSDocument_Controller extends Controller {
$doc = null;
$id = Convert::raw2sql(intval($request->param('ID')));
$doc = DataObject::get_by_id('DMSDocument', $id);
$this->extend('updateDocumentFromID', $doc, $request);
return $doc;
}