From 6934fc40f3ed4e44a9908e05ce8f4d2438bb3a5f Mon Sep 17 00:00:00 2001 From: Marien Fressinaud Date: Sun, 14 Jun 2020 10:27:44 +0200 Subject: [PATCH] fix: Replace _url() call by Minz_Url::display (ShareByEmail) (#80) The `_url()` helper method wasn't loaded when the extension was initialized via the API. --- xExtension-ShareByEmail/extension.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xExtension-ShareByEmail/extension.php b/xExtension-ShareByEmail/extension.php index a5273a5..5000da6 100644 --- a/xExtension-ShareByEmail/extension.php +++ b/xExtension-ShareByEmail/extension.php @@ -9,7 +9,7 @@ class ShareByEmailExtension extends Minz_Extension { FreshRSS_Share::register([ 'type' => 'email', - 'url' => _url('shareByEmail', 'share') . '&id=~ID~', + 'url' => Minz_Url::display(['c' => 'shareByEmail', 'a' => 'share']) . '&id=~ID~', 'transform' => [], 'form' => 'simple', 'method' => 'GET',