Skip to content

Commit

Permalink
Try replacing static with DAO
Browse files Browse the repository at this point in the history
  • Loading branch information
seamuslee001 committed Apr 11, 2017
1 parent 5bc7d8e commit 6f19290
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/SMS/BAO/Provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public static function create(&$params) {
CRM_Utils_Hook::pre('create', 'SmsProvider', NULL, $params);
}

$provider = new static();
$provider = new CRM_SMS_DAO_Provider();
if ($id) {
$provider->id = $id;
$provider->find(TRUE);
Expand Down

0 comments on commit 6f19290

Please sign in to comment.