Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Franck Allimant committed Oct 24, 2022
1 parent 9c29904 commit e117662
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Loop/FrontView.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function buildArray()
{
$findEvent = new FindViewEvent($this->getSourceId(), $this->getSource());

$this->dispatcher->dispatch('view.find', $findEvent);
$this->dispatcher->dispatch($findEvent, 'view.find');

return $findEvent->hasView() ? [ [
'name' => $findEvent->getView(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
{intl d="view.bo.default" l="Choisissez une vue :"}
</label>

{$viewSelected = ''}
{loop type="view" name="viewselected" source=$sourceType source_id=$sourceId}
{$viewSelected = $VIEW}
{/loop}
Expand Down Expand Up @@ -68,6 +69,7 @@
{intl d="view.bo.default" l="Choisissez une vue :"}
</label>

{$viewSelected = ''}
{loop type="view" name="viewselected" source=$sourceType source_id=$sourceId}
{$viewSelected = $SUBTREE_VIEW}
{/loop}
Expand All @@ -91,6 +93,7 @@
{intl d="view.bo.default" l="Choisissez une vue :"}
</label>

{$viewSelected = ''}
{loop type="view" name="viewselected" source=$sourceType source_id=$sourceId}
{$viewSelected = $CHILDREN_VIEW}
{/loop}
Expand Down Expand Up @@ -130,4 +133,4 @@
{/form}
</div>
</div>
</div>
</div>

0 comments on commit e117662

Please sign in to comment.