From 24491b067655791bbb24a483ce483fc9ff95ed5d Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Mon, 14 Nov 2022 21:47:55 +0100 Subject: [PATCH] fix new notices --- _admin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_admin.php b/_admin.php index af35f64..fb78a55 100644 --- a/_admin.php +++ b/_admin.php @@ -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); }