Explorar el Código

Fix datatime field type check in TableAcl

Piotr Labudda hace 10 años
padre
commit
23ca016706
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      SE/se-lib/TableAcl.php

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

@@ -1324,7 +1324,7 @@ class TableAcl {
 		$type = $this->getFieldType($fldName);
 		if (!$type) return false;
 
-		if (substr($type['type'], 0, 4) == 'datetime') {
+		if (substr($type['type'], 0, 8) == 'datetime') {
 			return true;
 		}
 		return false;