Skip to content
Snippets Groups Projects
Commit 34cf1789 authored by Mathias Brodala's avatar Mathias Brodala Committed by Stefan Neufeind
Browse files

[BUGFIX] EXT:form - resolve numeric values in finishers

This fixes option parsing for finishers to return any kind of
numeric values within the form runtime or finisher variable provider.

Resolves: #82833
Releases: master, 8.7
Change-Id: I334fbd36e526823f07e57247bd63d412a3c3b0d6
Reviewed-on: https://review.typo3.org/54994


Tested-by: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: default avatarEugene Kenah Djomo <kdeugene@yahoo.fr>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarBjoern Jacob <bjoern.jacob@tritum.de>
Tested-by: default avatarBjoern Jacob <bjoern.jacob@tritum.de>
Reviewed-by: default avatarStefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: default avatarStefan Neufeind <typo3.neufeind@speedpartner.de>
parent ef68ffad
Branches
Tags
No related merge requests found
......@@ -205,7 +205,7 @@ abstract class AbstractFinisher implements FinisherInterface
);
}
}
if (!is_string($value) && !is_int($value)) {
if (!is_string($value) && !is_numeric($value)) {
$value = '{' . $match[1] . '}';
}
return $value;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment