fix post feed edition link

This commit is contained in:
Jean-Christian Paul Denis 2021-10-10 11:42:30 +02:00
parent 27dea8d717
commit 2ef66a7067
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951

View File

@ -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
'<p><a href="%s">%s</a></p>',
$core->adminurl->get(
'admin.plugin.zoneclearFeedServer',
['part' => 'feed', 'feed' => $fid->meta_id]
['part' => 'feed', 'feed_id' => $fid->meta_id]
),
__('Edit this feed')
);