Fix for not being able to delete items
This commit is contained in:
parent
e9dbf55400
commit
bdbc51229a
12 changed files with 65 additions and 25 deletions
|
|
@ -339,7 +339,7 @@ function profile_content(App $a, $update = 0)
|
|||
|
||||
$parents_str = implode(', ', $parents_arr);
|
||||
|
||||
$items = q(item_query() . " AND `item`.`uid` = %d
|
||||
$items = q(item_query($a->profile['profile_uid']) . " AND `item`.`uid` = %d
|
||||
AND `item`.`parent` IN (%s)
|
||||
$sql_extra ",
|
||||
intval($a->profile['profile_uid']),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue