Explorar o código

fixed p5:enum type in TableAcl

Piotr Labudda %!s(int64=8) %!d(string=hai) anos
pai
achega
6901ba9aed
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      SE/se-lib/TableAcl.php

+ 1 - 1
SE/se-lib/TableAcl.php

@@ -1983,7 +1983,7 @@ class TableAcl extends Core_AclBase {
 			else if ('linestring' == $geomType) return 'gml:LineStringPropertyType';
 			else return 'gml:GeometryPropertyType';
 		}
-		else if ($this->isEnumerationField($fieldName)) return 'xsd:string'; // TODO: p5:enum ?
+		else if ($this->isEnumerationField($fieldName)) return 'p5:enum';
 		else if ($this->isBinaryField($fieldName)) return 'xsd:base64Binary';
 		return $fldType;
 	}