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

Fixed XenForo_Model_StyleProperty::getStylePropertyDefinitionsForAdminQuickSearch

Discussion in 'Resolved Bug Reports' started by ragtek, Oct 5, 2011.

  1. ragtek

    ragtek Guest

    You're using $db but it's not in the scope;)
        public function getStylePropertyDefinitionsForAdminQuickSearch($searchText, array $propertyNames)
    $searchStringSql 'property_name LIKE ' XenForo_Db::quoteLike($searchText'lr');

            if (!empty(
    $sqlConditions '(' $searchStringSql ' OR property_name IN (' $db->quote($propertyNames) . '))';
    $sqlConditions $searchStringSql;

                SELECT *
                FROM xf_style_property_definition
                WHERE ' 
    erich37 and Floris like this.
  2. Kier

    Kier XenForo Developer Staff Member


Share This Page