Skip to content

Commit

Permalink
Content dialog field, fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Fedik committed Apr 18, 2023
1 parent 1295c08 commit 7b7970c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions libraries/src/Form/Field/ModalSelectField.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,15 +89,15 @@ public function setup(\SimpleXMLElement $element, $value, $group = null)
$this->canDo['clear'] = ((string) $this->element['clear'] != 'false');

// Prepare Urls
$this->urls['select'] = (string) $element['urlSelect'];
$this->urls['new'] = (string) $element['urlNew'];
$this->urls['edit'] = (string) $element['urlEdit'];
$this->urls['checkin'] = (string) $element['urlCheckin'];
$this->urls['select'] = (string) $this->element['urlSelect'];
$this->urls['new'] = (string) $this->element['urlNew'];
$this->urls['edit'] = (string) $this->element['urlEdit'];
$this->urls['checkin'] = (string) $this->element['urlCheckin'];

// Prepare titles
$this->modalTitles['select'] = (string) $element['titleSelect'];
$this->modalTitles['new'] = (string) $element['titleNew'];
$this->modalTitles['edit'] = (string) $element['titleEdit'];
$this->modalTitles['select'] = (string) $this->element['titleSelect'];
$this->modalTitles['new'] = (string) $this->element['titleNew'];
$this->modalTitles['edit'] = (string) $this->element['titleEdit'];

return $result;
}
Expand Down

0 comments on commit 7b7970c

Please sign in to comment.