diff --git a/php/classes/BaseManager.php b/php/classes/BaseManager.php index 89cacac..6a6201f 100755 --- a/php/classes/BaseManager.php +++ b/php/classes/BaseManager.php @@ -325,6 +325,7 @@ class BaseManager { $newVi = $this->baseDom->createElement("vi"); $newId = $this->getNewId(); $newVi->setAttribute('id', $newId); + if ($format == 'txt') $format = 'ascii'; $newVi->setAttribute('format', strtoupper($format)); $newVi->appendChild($this->baseDom->createElement("mask",$fileMask)); $this->appendFiles($newVi, $fileMask); -- libgit2 0.21.2