Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-4017

Client contact edit fail with email verification disabled

    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

        There are no comments yet on this issue.

          People

          • Assignee:
            jonathan Jonathan Reissmueller
            Reporter:
            jonathan Jonathan Reissmueller
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              19/Nov/20

              Agile