Skip to content

Commit

Permalink
Misc clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
iMattPro committed Apr 18, 2018
1 parent 6974aa1 commit 9d00cad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions acp/board_announcements_module.php
Expand Up @@ -179,9 +179,9 @@ public function main()
'announcement_timestamp' => time(),
));

$announcement_text = (!empty($data['announcement_text']));
$guests_only = ($board_announcements_users === self::GUESTS);
$members_only = ($board_announcements_users === self::MEMBERS);
$announcement_text = !empty($data['announcement_text']);
$guests_only = $board_announcements_users === self::GUESTS;
$members_only = $board_announcements_users === self::MEMBERS;

$this->db->sql_transaction('begin');

Expand Down

0 comments on commit 9d00cad

Please sign in to comment.