Skip to content

Commit e64e104

Browse files
rmpelMike van den Hoek
authored andcommitted
(fix): prevent error log spam regarding null being passed to dirname because of a missing variable
1 parent e735a18 commit e64e104

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

src/PrefillGravityForms/GravityForms/GravityFormsAddon.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,13 @@ class GravityFormsAddon extends GFAddOn
3838
*/
3939
private static $_instance = null;
4040

41+
/**
42+
* The full path to the Add-On file.
43+
*
44+
* @var string
45+
*/
46+
protected $_full_path = __FILE__;
47+
4148
/**
4249
* Singleton loader.
4350
*/

0 commit comments

Comments
 (0)