fixing wrong sorted folders in shared.php
This commit is contained in:
@@ -71,7 +71,7 @@ class folder {
|
||||
}
|
||||
|
||||
# get all shared folders for the given user
|
||||
$query = "SELECT id, childof, name, public FROM folder WHERE public='1' AND deleted!='1'AND user='$this->foreign_username' ORDER BY 'name'";
|
||||
$query = "SELECT id, childof, name, public FROM folder WHERE public='1' AND deleted!='1' AND user='$this->foreign_username' ORDER BY name";
|
||||
if ($mysql->query ($query)) {
|
||||
# make two arrays:
|
||||
# 1) $children containing arrays with children. the keys of these arrays are the id's of the parents
|
||||
|
||||
Reference in New Issue
Block a user