make discover items interactive
This commit is contained in:
@@ -1230,11 +1230,19 @@ function add_children_to_list($children, &$arr) {
|
||||
}
|
||||
}
|
||||
|
||||
function conv_sort($arr,$order) {
|
||||
function conv_sort($arr,$order,$uid = 0) {
|
||||
|
||||
if((!(is_array($arr) && count($arr))))
|
||||
return array();
|
||||
|
||||
if($uid) {
|
||||
for($x = 0; $x < count($arr); $x ++) {
|
||||
$arr[$x]['real_uid'] = $arr[$x]['uid'];
|
||||
$arr[$x]['uid'] = $uid;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
$parents = array();
|
||||
$children = array();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user