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 058f30d982
commit cbe12eba76
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';