From 2ef66a7067047b8983bebb7b4df28d5f96c67ee3 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Sun, 10 Oct 2021 11:42:30 +0200 Subject: [PATCH] fix post feed edition link --- _admin.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/_admin.php b/_admin.php index 5232e54..6f3f3fb 100644 --- a/_admin.php +++ b/_admin.php @@ -88,7 +88,7 @@ class zcfsAdminBehaviors */ public static function adminDashboardFavorites(dcCore $core, dcFavorites $favs) { - $favs->register('zcfs', array( + $favs->register('zcfs', [ 'title' => __('Feeds server'), 'url' => $core->adminurl->get('admin.plugin.zoneclearFeedServer'), 'small-icon' => dcPage::getPF('zoneclearFeedServer/icon.png'), @@ -96,7 +96,7 @@ class zcfsAdminBehaviors 'permissions' => 'usage,contentadmin', 'active_cb' => ['zcfsAdminBehaviors', 'adminDashboardFavoritesActive'], 'dashboard_cb' => ['zcfsAdminBehaviors', 'adminDashboardFavoritesCallback'] - )); + ]); } /** @@ -254,7 +254,7 @@ class zcfsAdminBehaviors '

%s

', $core->adminurl->get( 'admin.plugin.zoneclearFeedServer', - ['part' => 'feed', 'feed' => $fid->meta_id] + ['part' => 'feed', 'feed_id' => $fid->meta_id] ), __('Edit this feed') );