summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xadmin/send.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/admin/send.php b/admin/send.php
index 0a164c8..59b2895 100755
--- a/admin/send.php
+++ b/admin/send.php
@@ -50,10 +50,7 @@ if( $gContent->isValid() && isset( $_REQUEST['preview'] ) && isset( $_REQUEST['s
}
if( $gContent->isValid() ) {
- $groupListHash = [];
- $groups = $gBitUser->getAllGroups( $groupListHash );
- $groups['send_subs']['group_name'] = 'Send to subscribers';
- $gBitSmarty->assign( 'groupList', $groups );
+ $gBitSmarty->assign( 'groupList', [ 'send_subs' => [ 'group_name' => 'Send to subscribers' ] ] );
} else {
$listHash = [];
$editions = $gContent->getList( $listHash );