diff options
-rw-r--r-- | include/account.php | 4 |
1 files 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) |