|
@@ -87,10 +87,11 @@ class SmmPostController extends AdminDistController
|
|
|
$rootAccounts = SmmUserAccount::getUserAccounts();
|
|
|
$listBoxOptions = [];
|
|
|
foreach ($rootAccounts as $account) {
|
|
|
- if (SmmPostLog::getPostQuota($account->getParent->name) > 0) {
|
|
|
+
|
|
|
+
|
|
|
|
|
|
$listBoxOptions[$account->id] = $account->name . ' ('.$account->getParent->name.')';
|
|
|
- }
|
|
|
+
|
|
|
}
|
|
|
|
|
|
$form->checkbox('account_ids', admin_trans_label('accountsSelect'))->options($listBoxOptions)->required();
|