the count is not for limiting but for reporting back, so leave it out
authorRobert Kaiser <kairo@kairo.at>
Tue, 2 Jul 2024 23:31:35 +0000 (01:31 +0200)
committerRobert Kaiser <kairo@kairo.at>
Tue, 2 Jul 2024 23:31:35 +0000 (01:31 +0200)
classes/document.php-class

index c48415fd22e66aa26f09143a33c6e351d1639891..00852d5446d632c75a9bbeac33ae5b40f885ba26 100755 (executable)
@@ -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;
   }