Show
Ignore:
Timestamp:
10/16/06 08:11:03 (2 years ago)
Author:
mdodoo
Message:

This was really annoying, and took more time than the previous commit. For some reason, "svn diff" does not work correctly on my machine.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/multiuser/util.php

    r1604 r1606  
    277277            } 
    278278 
    279             $author = strip_tags($author); 
     279            $author = trim(strip_tags($author)); 
    280280 
    281281            // pubdate 
     
    479479            $title = rss_real_escape_string($title_); 
    480480        } 
    481         elseif (is_object($rss) && array_key_exists('title', $rss->channel)) { 
    482             $title = rss_real_escape_string($rss->channel['title']); 
     481        elseif (is_object($rss) && array_key_exists('title#', $rss->channel)) { 
     482            if (array_key_exists('title', $rss->channel)) { 
     483                $title = rss_real_escape_string($rss->channel['title']); 
     484            } else { 
     485                $title = " "; 
     486            } 
    483487        } 
    484488        else {