From 18f8f0836754024db587a622a2026aee9896ea93 Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 9 Sep 2014 17:25:31 -0700 Subject: argument order reversed in downgrade_accounts --- include/account.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/account.php b/include/account.php index 9b4dc409c..a3d6ef025 100644 --- a/include/account.php +++ b/include/account.php @@ -513,8 +513,8 @@ function downgrade_accounts() { $r = q("select * from account where not ( account_flags & %d ) and account_expires != '%s' and account_expires < UTC_TIMESTAMP() ", - dbesc(NULL_DATE), - intval(ACCOUNT_EXPIRED) + intval(ACCOUNT_EXPIRED), + dbesc(NULL_DATE) ); if(! $r) -- cgit v1.2.3