Skip to content

Commit

Permalink
Fix PHP NOTICE in RSS
Browse files Browse the repository at this point in the history
Fixes #25213
  • Loading branch information
atrol committed Jan 19, 2019
1 parent cbab6c4 commit 25df65e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions library/README.md
Expand Up @@ -9,7 +9,7 @@ The version and status of each is summarized below:

directory | project | version | status
----------------|-----------------|-----------|---------------
rssbuilder | RSSBuilder | 2.2.1 | patched [1]
rssbuilder | RSSBuilder | 2.2.1 | patched [1][2]


## Javascript/CSS libraries
Expand All @@ -31,7 +31,7 @@ list.js | 1.4.1 | unpatched
**Notes**

1. removed `__autoload` function

2. fixed SYSTEM NOTICE 'Only variables should be passed by reference'

Upstream projects
-----------------
Expand Down
6 changes: 3 additions & 3 deletions library/rssbuilder/class.RSSBuilder.inc.php
Expand Up @@ -49,9 +49,9 @@ public function addRSSItem($about = '',
$author = '',
$comments = '',
$image = '') {
$this->rss_itemlist->addRSSItem(new RSSItem($about, $title, $link,
$description, $subject, $date, $author,
$comments, $image));
$newItem = new RSSItem($about, $title, $link, $description, $subject,
$date, $author, $comments, $image);
$this->rss_itemlist->addRSSItem($newItem);
} // end function

public function addDCdata($publisher = '',
Expand Down

0 comments on commit 25df65e

Please sign in to comment.