From 3b35a278c57b8dd3badf632bd73877daedb03ba7 Mon Sep 17 00:00:00 2001 From: Alex Dryden Date: Fri, 28 Apr 2023 14:39:52 -0400 Subject: [PATCH] Restore accidentally deleted display of form data --- Module.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Module.php b/Module.php index 639ec83..29e666b 100644 --- a/Module.php +++ b/Module.php @@ -631,6 +631,9 @@ public function displayTeamForm(Event $event) if ($vars->resource) { $vars->offsetSet('teams', $this->listTeams($vars->resource, 'representation')); } + echo $event->getTarget()->partial( + 'teams/partial/team-form', + ); } /** @@ -1855,7 +1858,6 @@ public function itemDelete(Event $event) */ public function itemUpdate(Event $event) { - echo get_class($this->getUser()); $em = $this->getServiceLocator()->get('Omeka\EntityManager'); $entity = $event->getParam('entity'); $request = $event->getParam('request');