]> 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>
Mon, 14 May 2018 20:50:03 +0000 (22:50 +0200)
Signed-off-by: Roland Haeder <roland@mxchange.org>
mod/photos.php

index 15dbad7fa723762614a1da00b3078165cc0c34cd..32d52c64895fe768fc2d7aef1b86704567e9deef 100644 (file)
@@ -1251,6 +1251,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';