From: Roland Haeder Date: Sat, 25 Mar 2017 14:06:54 +0000 (+0100) Subject: Opps, cutted this out by accident ... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7c048b50778ac0ad8a8be7b8219847732067f205;p=friendica.git Opps, cutted this out by accident ... Signed-off-by: Roland Haeder --- diff --git a/mod/photos.php b/mod/photos.php index e823da59ff..92fdfb0484 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -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';