diff options
author | Christian Vogeley <christian.vogeley@hotmail.de> | 2015-01-11 16:12:36 +0100 |
---|---|---|
committer | Christian Vogeley <christian.vogeley@hotmail.de> | 2015-01-11 16:12:36 +0100 |
commit | 43f143a211c75138d09ceb89acc48ea7d5c31ca9 (patch) | |
tree | d2ad3711e3ad31a694973be736e3a7e705a4634e /mod | |
parent | 4a0150026b5b503b64471673c8621c857a38df57 (diff) | |
download | volse-hubzilla-43f143a211c75138d09ceb89acc48ea7d5c31ca9.tar.gz volse-hubzilla-43f143a211c75138d09ceb89acc48ea7d5c31ca9.tar.bz2 volse-hubzilla-43f143a211c75138d09ceb89acc48ea7d5c31ca9.zip |
Fix for issue #763 Error creating new channel within the limits of the
subscription plan
Diffstat (limited to 'mod')
-rw-r--r-- | mod/manage.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/manage.php b/mod/manage.php index 00c6db7f0..6fb835696 100644 --- a/mod/manage.php +++ b/mod/manage.php @@ -131,7 +131,7 @@ function manage_content(&$a) { intval(get_account_id()), intval(PAGE_REMOVED) ); - $limit = service_class_fetch(local_user(),'total_identities'); + $limit = account_service_class_fetch(get_account_id(),'total_identities'); if($limit !== false) { $channel_usage_message = sprintf( t("You have created %1$.0f of %2$.0f allowed channels."), $r[0]['total'], $limit); } |