Skip to content

Commit

Permalink
Exception issue fix in uploadAttachment method
Browse files Browse the repository at this point in the history
  • Loading branch information
sumanthchilka committed Apr 20, 2018
1 parent a7a6029 commit 657a348
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/com/zoho/crm/library/crud/ZCRMAttachment.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ private function __construct($parentRecord,$attachmentId)
$this->id=$attachmentId;
}

public function getInstance($parentRecord,$attachmentId=null)
public static function getInstance($parentRecord,$attachmentId=null)
{
return new ZCRMAttachment($parentRecord,$attachmentId);
}
Expand Down

0 comments on commit 657a348

Please sign in to comment.