Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Commit

Permalink
Merge pull request #183 from Kathrin84/Fix-to-issue-#153-group-order
Browse files Browse the repository at this point in the history
Fix to issue #153
  • Loading branch information
elliott2081 committed Jul 15, 2015
2 parents 08a4075 + e83741e commit 3f0319f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions email_form.php
Expand Up @@ -76,13 +76,15 @@ public function definition() {
}

$group_options = empty($this->_customdata['groups']) ? array() : array(
'all' => quickmail::_s('all_sections')
'allusers' => quickmail::_s('allusers')
);

$group_options['all'] = quickmail::_s('all_sections');
foreach ($this->_customdata['groups'] as $group) {
$group_options[$group->id] = $group->name;
}

$group_options[0] = quickmail::_s('no_section');
$group_options['allusers'] = quickmail::_s('allusers');

$user_options = array();
foreach ($this->_customdata['users'] as $user) {
Expand Down

0 comments on commit 3f0319f

Please sign in to comment.