Continued:

- ops, another rebase-leftover fixed

Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
Roland Häder 2018-05-03 02:17:16 +02:00
parent befb080b70
commit 8bc565be74
No known key found for this signature in database
GPG key ID: B72F8185C6C7BD78

View file

@ -1251,8 +1251,6 @@ 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';