From bc3d743cd0163b8db86e8fd314639432c41f60b7 Mon Sep 17 00:00:00 2001
From: Rasmus Fuhse <fuhse@data-quest.de>
Date: Fri, 7 Jul 2017 17:19:27 +0200
Subject: [PATCH] re #78

---
 views/myplugins/edit.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/views/myplugins/edit.php b/views/myplugins/edit.php
index 897571f..2e02d3a 100755
--- a/views/myplugins/edit.php
+++ b/views/myplugins/edit.php
@@ -49,7 +49,7 @@
         <div style="margin-bottom: 10px; margin-top: 10px;">
             <?= _("Mitarbeiter") ?>
             <ul class="clean" style="margin-bottom: 5px;" id="plugincollaborators">
-                <?= $this->render_partial("myplugins/_collaborator.php", array('user' => $marketplugin->user)) ?>
+                <?= $this->render_partial("myplugins/_collaborator.php", array('user' => $marketplugin->user ?: User::findCurrent())) ?>
                 <? foreach ($marketplugin->more_users as $user) : ?>
                     <?= $this->render_partial("myplugins/_collaborator.php", array('user' => $user)) ?>
                 <? endforeach ?>
-- 
GitLab