1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed Typo in XenForo_Model_Alert::getAlertById

Discussion in 'Resolved Bug Reports' started by ragtek, May 10, 2011.

  1. ragtek

    ragtek Guest

    PHP:
        public function getAlertById($alertId)
        {
            return 
    $this->_getDb()->fetchAll('

                SELECT *
                FROM xf_user_alert
                WERE alert_id = ?

            '
    $alertId);
        }
    were should be where
     
  2. xfrocks

    xfrocks Well-Known Member

  3. ragtek

    ragtek Guest

    yea, as i've seen it,is really funny
    I think the chance to win in the lottery is higher, as 2 so similar threads^^
     
  4. Mike

    Mike XenForo Developer Staff Member

    Fixed as well. Obviously this code isn't actually used anywhere (by default). :)
     
    xfrocks likes this.
  5. xfrocks

    xfrocks Well-Known Member

    Is this changed to use fetchRow as well? :D
     
  6. Mike

    Mike XenForo Developer Staff Member

    Yes
     
    xfrocks likes this.

Share This Page