Skip to content

Commit

Permalink
Restore accidentally deleted display of form data
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdryden committed Apr 28, 2023
1 parent e92c1a4 commit 3b35a27
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Module.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
);
}

/**
Expand Down Expand Up @@ -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');
Expand Down

0 comments on commit 3b35a27

Please sign in to comment.