Skip to content

Commit 76c982c

Browse files
committed
Resolve error when adding journal
1 parent 6366a58 commit 76c982c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Classes/Subscription.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -286,8 +286,7 @@ public function addPartner($data)
286286
{
287287
$partner_cls = new PartnerCls();
288288

289-
$partner_qry = Partner;
290-
where('email', $data['email'] ?? '')
289+
$partner = Partner::where('email', $data['email'] ?? '')
291290
->orWhere('phone', $data['phone'] ?? '')->first();
292291

293292
if (!$partner) {

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "mybizna/isp",
33
"description": "",
44
"type": "asgard-module",
5-
"version": "1.3.39",
5+
"version": "1.3.40",
66
"license": "GPL-3.0-or-later",
77
"authors": [
88
{

0 commit comments

Comments
 (0)