From: Robert Kaiser Date: Tue, 2 Jul 2024 23:31:35 +0000 (+0200) Subject: the count is not for limiting but for reporting back, so leave it out X-Git-Url: https://git-public.kairo.at/?a=commitdiff_plain;h=e446b9cc9d257b029bff2ba56b4069676d31dad1;p=php-utility-classes.git the count is not for limiting but for reporting back, so leave it out --- 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; }