mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-29 03:01:28 +00:00
compat patches for php7
This commit is contained in:
@@ -935,7 +935,7 @@ class Feeds extends Handler_Protected {
|
||||
//$reply['headlines']['content'] =& $ret[5]['content'];
|
||||
//$reply['headlines']['toolbar'] =& $ret[5]['toolbar'];
|
||||
|
||||
$reply['headlines'] =& $ret[5];
|
||||
$reply['headlines'] = $ret[5];
|
||||
|
||||
if (!$next_unread_feed)
|
||||
$reply['headlines']['id'] = $feed;
|
||||
|
||||
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