mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 19:05:55 +00:00
compat patches for php7
This commit is contained in:
4
classes/pref/feeds.php
Normal file → Executable file
4
classes/pref/feeds.php
Normal file → Executable file
@@ -297,7 +297,7 @@ class Pref_Feeds extends Handler_Protected {
|
||||
if ($_REQUEST['mode'] != 2) {
|
||||
$fl['items'] = array($root);
|
||||
} else {
|
||||
$fl['items'] =& $root['items'];
|
||||
$fl['items'] = $root['items'];
|
||||
}
|
||||
|
||||
return $fl;
|
||||
@@ -410,7 +410,7 @@ class Pref_Feeds extends Handler_Protected {
|
||||
if (isset($item['items']['_reference'])) {
|
||||
$data_map[$item['id']] = array($item['items']);
|
||||
} else {
|
||||
$data_map[$item['id']] =& $item['items'];
|
||||
$data_map[$item['id']] = $item['items'];
|
||||
}
|
||||
}
|
||||
if ($item['id'] == 'root') {
|
||||
|
||||
Reference in New Issue
Block a user