From e446b9cc9d257b029bff2ba56b4069676d31dad1 Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Wed, 3 Jul 2024 01:31:35 +0200 Subject: [PATCH] the count is not for limiting but for reporting back, so leave it out --- classes/document.php-class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/document.php-class b/classes/document.php-class index c48415f..00852d5 100755 --- a/classes/document.php-class +++ b/classes/document.php-class @@ -631,7 +631,7 @@ class ExtendedDocument extends DOMDocument { $dtfield->setAttribute('name', $name); if (!is_null($min)) { $dtfield->setAttribute('min', $min); } if (!is_null($max)) { $dtfield->setAttribute('max', $max); } - if (!is_null($value)) { $dtfield->setAttribute('value', str_replace(' ', 'T', $value, 1)); } + if (!is_null($value)) { $dtfield->setAttribute('value', str_replace(' ', 'T', $value)); } return $dtfield; } -- 2.43.0