argument order reversed in downgrade_accounts
This commit is contained in:
parent
537f101554
commit
18f8f08367
@ -513,8 +513,8 @@ function downgrade_accounts() {
|
|||||||
$r = q("select * from account where not ( account_flags & %d )
|
$r = q("select * from account where not ( account_flags & %d )
|
||||||
and account_expires != '%s'
|
and account_expires != '%s'
|
||||||
and account_expires < UTC_TIMESTAMP() ",
|
and account_expires < UTC_TIMESTAMP() ",
|
||||||
dbesc(NULL_DATE),
|
intval(ACCOUNT_EXPIRED),
|
||||||
intval(ACCOUNT_EXPIRED)
|
dbesc(NULL_DATE)
|
||||||
);
|
);
|
||||||
|
|
||||||
if(! $r)
|
if(! $r)
|
||||||
|
Reference in New Issue
Block a user