diff --git a/inc/rss.php b/inc/rss.php index d69db61..51ca2b0 100755 --- a/inc/rss.php +++ b/inc/rss.php @@ -23,6 +23,7 @@ class Feed extends PhpObject { $asDesc['link'] = 'http://'.$_SERVER['SERVER_NAME'].$_SERVER['SCRIPT_NAME'].'/rss'; } $this->asDesc = $asDesc; + $this->asItems = array(); array_walk($asItems, array($this, 'addItem')); $this->sCssFile = $sCssFile; }