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

        jonathan Jonathan Reissmueller created issue -
        jonathan Jonathan Reissmueller made changes -
        Field Original Value New Value
        Rank Ranked higher
        jonathan Jonathan Reissmueller made changes -
        Description To resolve, change:
        {quote}
            public function getByEmail($email)
            {
                return $this->Record->queryByEmail($email)->fetch();
            }
        {quote}
        To
        {quote}
            public function getByEmail($email)
            {
                return $this->queryByEmail($email)->fetch();
            }
        {quote}
        To resolve, change:

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

        To

        {code:java}
            public function getByEmail($email)
            {
                return $this->queryByEmail($email)->fetch();
            }
        {code}
        jonathan Jonathan Reissmueller made changes -
        Sprint 5.5.0 Sprint 5 [ 159 ]
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked higher
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked higher
        jonathan Jonathan Reissmueller made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Assignee Jonathan Reissmueller [ jonathan ]
        Resolution Fixed [ 1 ]

          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