aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/front/controller/admin/ShaarePublishController.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/front/controller/admin/ShaarePublishController.php')
-rw-r--r--application/front/controller/admin/ShaarePublishController.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/application/front/controller/admin/ShaarePublishController.php b/application/front/controller/admin/ShaarePublishController.php
index 65fdcdee..ddcffdc7 100644
--- a/application/front/controller/admin/ShaarePublishController.php
+++ b/application/front/controller/admin/ShaarePublishController.php
@@ -46,6 +46,9 @@ class ShaarePublishController extends ShaarliAdminController
46 46
47 $links = []; 47 $links = [];
48 foreach ($urls as $url) { 48 foreach ($urls as $url) {
49 if (empty($url)) {
50 continue;
51 }
49 $link = $this->buildLinkDataFromUrl($request, $url); 52 $link = $this->buildLinkDataFromUrl($request, $url);
50 $data = $this->buildFormData($link, $link['linkIsNew'], $request); 53 $data = $this->buildFormData($link, $link['linkIsNew'], $request);
51 $data['token'] = $this->container->sessionManager->generateToken(); 54 $data['token'] = $this->container->sessionManager->generateToken();