]> git.mxchange.org Git - friendica.git/blobdiff - mod/photos.php
Opps, cutted this out by accident ...
[friendica.git] / 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';