Fix for issue #763 Error creating new channel within the limits of the

subscription plan
This commit is contained in:
Christian Vogeley
2015-01-11 16:12:36 +01:00
parent 4a0150026b
commit 43f143a211
3 changed files with 28 additions and 2 deletions

View File

@@ -34,7 +34,7 @@ function identity_check_service_class($account_id) {
$ret['total_identities'] = intval($r[0]['total']);
if(! service_class_allows($account_id,'total_identities',$r[0]['total'])) {
if(! account_service_class_allows($account_id,'total_identities',$r[0]['total'])) {
$result['message'] .= upgrade_message();
return $result;
}