Merge pull request #125 from cvogeley/master

usage message showed wrong number of channels
This commit is contained in:
cvogeley 2013-09-09 13:04:20 -07:00
commit a4d455c48b

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) {