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

User::getByEmail uses undefined method

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.5.0-b1
    • Component/s: None
    • Labels:
      None

      Description

      To resolve, change:

          public function getByEmail($email)
          {
              return $this->Record->queryByEmail($email)->fetch();
          }
      

      To

          public function getByEmail($email)
          {
              return $this->queryByEmail($email)->fetch();
          }
      

        Activity

          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:
              29/Jun/22

              Agile