diff options
Diffstat (limited to 'www/functions/func_content.php')
| -rwxr-xr-x | www/functions/func_content.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/www/functions/func_content.php b/www/functions/func_content.php index c405715..ad0c87e 100755 --- a/www/functions/func_content.php +++ b/www/functions/func_content.php @@ -30,7 +30,7 @@ function get_content($db, $file_id, $owner){ $share =" AND share='PUBLIC'"; } - $content_db = $db->query("SELECT * FROM files WHERE parent=" . $file_id . " AND owner=" . $owner . $share . ";"); + $content_db = $db->query("SELECT * FROM files WHERE parent=" . $file_id . " AND owner=" . $owner . $share . " ORDER BY folder, name;"); $count=0; |
