Merge pull request #40 from normann/master

BUG before use object's property check to make sure it is not NULL.
This commit is contained in:
Stephen Shkardoon 2013-11-14 19:53:46 -08:00
commit 6497b1993d

View File

@ -45,7 +45,7 @@ class DMSDocument extends DataObject implements DMSDocumentInterface {
if(!min($results)) return false;
}
if($member->ID){
if($member && $member->ID){
return true;
}
return false;