usage message showed wrong number of channels

This commit is contained in:
Christian Vogeley 2013-09-09 22:00:39 +02:00
parent b4a2361efc
commit e92233e39e

View File

@ -55,7 +55,7 @@ function manage_content(&$a) {
} }
$r = q("select count(channel_id) as total from channel where channel_account_id = %d ", $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'); $limit = service_class_fetch(local_user(),'total_identities');
if($limit !== false) { if($limit !== false) {