mirror of
https://github.com/friendica/friendica
synced 2025-04-27 13:50:12 +00:00
fix theme control of allowing threading
This commit is contained in:
parent
43de9cf904
commit
d98974572b
3 changed files with 14 additions and 3 deletions
|
@ -1008,9 +1008,10 @@ function status_editor($a,$x, $notes_cid = 0, $popup=false) {
|
|||
|
||||
function get_item_children($arr, $parent) {
|
||||
$children = array();
|
||||
$a = get_app();
|
||||
foreach($arr as $item) {
|
||||
if($item['id'] != $item['parent']) {
|
||||
if(get_config('system','thread_allow')) {
|
||||
if(get_config('system','thread_allow') && $a->theme_thread_allow) {
|
||||
// Fallback to parent-uri if thr-parent is not set
|
||||
$thr_parent = $item['thr-parent'];
|
||||
if($thr_parent == '')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue