fix new notices

This commit is contained in:
Jean-Christian Denis 2022-11-14 21:47:55 +01:00
parent 152aa8d3c4
commit 24491b0676
Signed by: JcDenis
GPG key ID: 1B5B8C5B90B6C951

View file

@ -338,7 +338,7 @@ class adminPeriodical
self::delPeriod($post_id);
}
dcPage::addSuccessNotice(__('Posts have been removed from periodical.'));
dcAdminNotices::addSuccessNotice(__('Posts have been removed from periodical.'));
$pa->redirect(true);
}
@ -365,7 +365,7 @@ class adminPeriodical
self::addPeriod($post_id, $post['periodical']);
}
dcPage::addSuccessNotice(__('Posts have been added to periodical.'));
dcAdminNotices::addSuccessNotice(__('Posts have been added to periodical.'));
$pa->redirect(true);
}