Skip to content

Commit 39a8cf7

Browse files
committed
typo
1 parent 3bbf691 commit 39a8cf7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Forms/Helpers.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ private static function sanitize(int $type, $value): string|array|Nette\Http\Fil
9494
*/
9595
public static function generateHtmlName(string $id): string
9696
{
97-
$name = str_replace(Nette\ComponentModel\IComponent::NAME_SEPARATOR, '][', $id, $count);
97+
$name = str_replace(Nette\ComponentModel\IComponent::NameSeparator, '][', $id, $count);
9898
if ($count) {
9999
$name = substr_replace($name, '', strpos($name, ']'), 1) . ']';
100100
}

0 commit comments

Comments
 (0)