Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 4.12.3
-
Component/s: None
-
Labels:None
Description
To reproduce:
- Make sure email verification is disabled
- Create a client
- Create an addition contact for the client
- Log in as the client
- Go to edit the contact
- See fatal error
Trying to get property 'contact_id' of non-object on line 220 in app\controllers\client_contacts.php
You can fix it by changing line 217 to:
if (($email_verification = $this->EmailVerifications->getByContactId($contact->id))) {
And adding the closing bracket after the call to setMessage()
Activity
Jonathan Reissmueller
created issue -
Jonathan Reissmueller
made changes -
Field | Original Value | New Value |
---|---|---|
Rank | Ranked higher |
Jonathan Reissmueller
made changes -
Sprint | 5.0.0 Sprint 4 [ 121 ] |
Jonathan Reissmueller
made changes -
Rank | Ranked lower |
Jonathan Reissmueller
made changes -
Assignee | Jonathan Reissmueller [ jonathan ] |
Jonathan Reissmueller
made changes -
Status | Open [ 1 ] | Closed [ 6 ] |
Resolution | Fixed [ 1 ] |