diff --git a/lib/classes/MultiPersonSearch.class.php b/lib/classes/MultiPersonSearch.class.php
index a5b2c1e63a4e6d4ad305fa0c459fb60b2963bdc7..972b7ab5827df78bd61d6e811a6a405b5043a94a 100644
--- a/lib/classes/MultiPersonSearch.class.php
+++ b/lib/classes/MultiPersonSearch.class.php
@@ -126,12 +126,14 @@ class MultiPersonSearch {
 
     /**
      * renders a link to open the multipersonsearch dialog.
+     *
+     * @param string $with_link_text include link text in output
      */
-    public function render() {
+    public function render($with_link_text = true) {
         $template = $GLOBALS['template_factory']->open('multipersonsearch/link.php');
 
         $template->set_attribute('linkIconPath', $this->linkIconPath);
-        $template->set_attribute('linkText', $this->linkText);
+        $template->set_attribute('linkText', $with_link_text ? $this->linkText : '');
         $template->set_attribute('title', $this->title);
         $template->set_attribute('name', $this->name);
         $template->set_attribute('description', $this->description);
diff --git a/templates/shared/action-menu-single.php b/templates/shared/action-menu-single.php
index 8fcab9b610224e34e4e91baa2d52049f40041736..7b49f313fb779e1c744ab4be20a5d7787694f00a 100644
--- a/templates/shared/action-menu-single.php
+++ b/templates/shared/action-menu-single.php
@@ -16,6 +16,6 @@
             </button>
         <? endif ?>
     <? elseif ($action['type'] === 'multi-person-search'): ?>
-        <?= $action['object']->render() ?>
+        <?= $action['object']->render(false) ?>
     <? endif ?>
 <? endforeach ?>