Fatal error: Call to a member function getDocument() on a non-object in /www/programs/vergil/apps/app/modules/document/actions/actions.class.php on line 20