Skip to content

Commit

Permalink
Disallow export of subscribers for non-admin users
Browse files Browse the repository at this point in the history
  • Loading branch information
slackero committed Sep 1, 2021
1 parent 0667786 commit 4babfa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/inc_act/act_export.php
Expand Up @@ -191,7 +191,7 @@

echo '</body></html>';
exit();
} elseif ($action == 'exportsubscriber') {
} elseif ($action == 'exportsubscriber' && !empty($_SESSION["wcs_user_admin"])) {

// export list of newsletter subscribers
$_userInfo = array();
Expand Down

0 comments on commit 4babfa1

Please sign in to comment.