]> git.mxchange.org Git - friendica.git/commitdiff
Opps, cutted this out by accident ...
authorRoland Haeder <roland@mxchange.org>
Sat, 25 Mar 2017 14:06:54 +0000 (15:06 +0100)
committerRoland Häder <roland@mxchange.org>
Wed, 20 Jun 2018 20:02:17 +0000 (22:02 +0200)
Signed-off-by: Roland Haeder <roland@mxchange.org>
mod/photos.php

index e823da59ff1f1a451e56ba6e9659f6cb2495b9db..92fdfb0484ad9aa266b20f3afea43527a617b0c5 100644 (file)
@@ -1232,6 +1232,8 @@ function photos_content(App $a)
                if (!Config::get('system', 'no_count', false)) {
                        $order_field = defaults($_GET, 'order', '');
                        if ($order_field === 'posted') {
+               if (!Config::get('system', 'no_count', false)) {
+                       if ($_GET['order'] === 'posted') {
                                $order = 'ASC';
                        } else {
                                $order = 'DESC';