Changeset 357

Show
Ignore:
Timestamp:
05/21/06 21:14:13 (3 years ago)
Author:
ben
Message:

RSS search now correctly returns links to profiles

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • devel/profile/profile.class.php

    r341 r357  
    512512            $searchline = str_replace("owner", "t.owner", $searchline); 
    513513            $tagvalue = stripslashes($tagvalue); 
    514             if ($result = get_record_sql('SELECT DISTINCT u.* FROM '.$CFG->prefix.'tags t 
     514            if ($result = get_records_sql('SELECT DISTINCT u.* FROM '.$CFG->prefix.'tags t 
    515515                                          LEFT JOIN '.$CFG->prefix.'users u ON u.ident = t.owner  
    516516                                          WHERE '.$searchline)) { 
  • devel/units/profile/function_search_rss.php

    r269 r357  
    1616            $searchline = str_replace("owner", "t.owner", $searchline); 
    1717            $parameter[1] = stripslashes($parameter[1]); 
    18             if ($result = get_record_sql('SELECT DISTINCT u.* FROM '.$CFG->prefix.'tags t 
     18            if ($result = get_records_sql('SELECT DISTINCT u.* FROM '.$CFG->prefix.'tags t 
    1919                                          JOIN '.$CFG->prefix.'users u ON u.ident = t.owner 
    2020                                          WHERE '.$searchline)) {