Explorar o código

fixed wfs A_RECORD_%_DATE fields

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

+ 2 - 0
SE/se-lib/TableAcl.php

@@ -1797,6 +1797,8 @@ class TableAcl extends Core_AclBase {
 
 	public function getXsdFieldType($fldName) {// @returns string - xsd type, TODO: throw Exception when field not found
 		$fldType = 'xsd:string';
+		if ('A_RECORD_UPDATE_DATE' == $fldName) return 'xsd:string';
+		if ('A_RECORD_CREATE_DATE' == $fldName) return 'xsd:string';
 		if ($this->isIntegerField($fldName)) return 'xsd:integer';
 		else if ($this->isDecimalField($fldName)) return 'xsd:decimal';
 		else if ($this->isDateField($fldName)) return 'xsd:date';