Commit 7bd75a2adebe58addb6405f21e136ff7632429cb
1 parent
6620904d
Exists in
master
and in
111 other branches
format = ASCII in vi description in base.xml
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
php/classes/BaseManager.php
@@ -325,6 +325,7 @@ class BaseManager { | @@ -325,6 +325,7 @@ class BaseManager { | ||
325 | $newVi = $this->baseDom->createElement("vi"); | 325 | $newVi = $this->baseDom->createElement("vi"); |
326 | $newId = $this->getNewId(); | 326 | $newId = $this->getNewId(); |
327 | $newVi->setAttribute('id', $newId); | 327 | $newVi->setAttribute('id', $newId); |
328 | + if ($format == 'txt') $format = 'ascii'; | ||
328 | $newVi->setAttribute('format', strtoupper($format)); | 329 | $newVi->setAttribute('format', strtoupper($format)); |
329 | $newVi->appendChild($this->baseDom->createElement("mask",$fileMask)); | 330 | $newVi->appendChild($this->baseDom->createElement("mask",$fileMask)); |
330 | $this->appendFiles($newVi, $fileMask); | 331 | $this->appendFiles($newVi, $fileMask); |