Skip to content

Commit

Permalink
Fix product notification link on unspecified page
Browse files Browse the repository at this point in the history
  • Loading branch information
ecartz committed Jun 1, 2022
1 parent 67e1599 commit a0c9ab2
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -73,7 +73,7 @@ function selectAll(FormName, SelectBox) {
}
//--></script>';

$link = $GLOBALS['Admin']->link('newsletters.php', ['page' => (int)$_GET['page'], 'nID' => (int)$_GET['nID'], 'action' => 'confirm']);
$link = $GLOBALS['Admin']->link('newsletters.php')->retain_query_except()->set_parameter('nID', (int)$_GET['nID'])->set_parameter('action', 'confirm');
$choose_audience_string .= new Form('notifications', $link, 'post', ['onsubmit' => "return selectAll('notifications', 'chosen[]')"]);
$choose_audience_string .= '<div class="row mb-3">';
$choose_audience_string .= '<div class="col-5">';
Expand Down

0 comments on commit a0c9ab2

Please sign in to comment.