From b1273714cd98184a66798b86157592c8e2ed196a Mon Sep 17 00:00:00 2001 From: John Kirk Date: Fri, 14 Apr 2017 06:27:29 +0000 Subject: [PATCH] Fixed static call of non static method. Assume the method was meant to be static as there's nothing in there requiring it to be dynamic. --- CRM/Core/BAO/Domain.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Core/BAO/Domain.php b/CRM/Core/BAO/Domain.php index 998bb25bd3..5c519baf1f 100644 --- a/CRM/Core/BAO/Domain.php +++ b/CRM/Core/BAO/Domain.php @@ -290,7 +290,7 @@ class CRM_Core_BAO_Domain extends CRM_Core_DAO_Domain { * Return domain information / user information for the useage in receipts * Try default from adress then fall back to using logged in user details */ - public function getDefaultReceiptFrom() { + public static function getDefaultReceiptFrom() { $domain = civicrm_api3('domain', 'getsingle', array('id' => CRM_Core_Config::domainID())); if (!empty($domain['from_email'])) { return array($domain['from_name'], $domain['from_email']); -- 2.25.1