Skip to content

Fix $this-> to self:: for an static property

homotechsual requested to merge github/fork/yaazkal/patch-1 into master

Created by: yaazkal

This will prevent an error like the described if a person is following this tutorial.

Notice: Accessing static property CRM_Core_Payment_CUSTOM::$_mode as non static in CRM_Core_Payment_CUSTOM->__construct() 

Where CUSTOM is a placeholder for the procesor the dev is making.

Merge request reports

Loading