Changeset 1625 for trunk/gregarius/cls

Show
Ignore:
Timestamp:
11/02/06 07:37:13 (2 years ago)
Author:
mbonetti
Message:

Fix for #231

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/gregarius/cls/wrappers/item.php

    r1599 r1625  
    4646    } 
    4747    if (getConfig('rss.output.usepermalinks')) { 
    48         list ($ply, $plm, $pld) = explode(":", rss_date("Y:m:d", $GLOBALS['rss'] -> currentItem -> date, false)); 
    49         $ptitle = ($label."'".$GLOBALS['rss'] -> currentItem -> parent -> escapedTitle 
    50             ."/$ply/$plm/$pld/".$GLOBALS['rss'] -> currentItem -> escapedTitle."'"); 
    51     } 
    52     return $ptitle; 
     48        //list ($ply, $plm, $pld) = explode(":", rss_date("Y:m:d", $GLOBALS['rss'] -> currentItem -> date, false)); 
     49        $ptitle = ($label."'". htmlentities($GLOBALS['rss'] -> currentItem -> title,ENT_QUOTES  ,'UTF-8') ."'"); 
     50    } 
     51    return @$ptitle; 
    5352} 
    5453