diff --git a/views/myplugins/edit.php b/views/myplugins/edit.php index 897571f6168def1f0d88aa542edb75dd2cb72427..2e02d3ac3392ef7c43d476bda0ac4a882b543da2 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 ?>