From e92233e39e73e8a70b0b024641fd5214a288388b Mon Sep 17 00:00:00 2001 From: Christian Vogeley Date: Mon, 9 Sep 2013 22:00:39 +0200 Subject: usage message showed wrong number of channels --- mod/manage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/manage.php') diff --git a/mod/manage.php b/mod/manage.php index fad359535..27e45aa47 100644 --- a/mod/manage.php +++ b/mod/manage.php @@ -55,7 +55,7 @@ function manage_content(&$a) { } $r = q("select count(channel_id) as total from channel where channel_account_id = %d ", - intval($account) + intval(get_account_id()) ); $limit = service_class_fetch(local_user(),'total_identities'); if($limit !== false) { -- cgit v1.2.3