mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-29 03:04:08 -04:00
Fix lots of warnings that pop up when we're in E_STRICT mode. They're
mostly issues around uninitialized variables, calling non-static functions in a static context, calling Session functions directly instead of on its singleton, passing non-variables by reference, and subclasses not using the same interface as the parent class.
This commit is contained in:
@@ -42,6 +42,7 @@ class comment_rss_Core {
|
||||
$comments->where("item_id", "=", $id);
|
||||
}
|
||||
|
||||
$feed = new stdClass();
|
||||
$feed->view = "comment.mrss";
|
||||
$feed->children = array();
|
||||
foreach ($comments->find_all($limit, $offset) as $comment) {
|
||||
|
||||
Reference in New Issue
Block a user