aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-09-09 17:25:31 -0700
committerfriendica <info@friendica.com>2014-09-09 17:25:31 -0700
commit18f8f0836754024db587a622a2026aee9896ea93 (patch)
treeed9559bf6d3d1df71495caffb8573ff9f0519ad2
parent537f101554806d566fd85ee63138d4a4db93a838 (diff)
downloadvolse-hubzilla-18f8f0836754024db587a622a2026aee9896ea93.tar.gz
volse-hubzilla-18f8f0836754024db587a622a2026aee9896ea93.tar.bz2
volse-hubzilla-18f8f0836754024db587a622a2026aee9896ea93.zip
argument order reversed in downgrade_accounts
-rw-r--r--include/account.php4
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)