Ver Fonte

Fix datatime field type check in TableAcl

Piotr Labudda há 10 anos atrás
pai
commit
23ca016706
1 ficheiros alterados com 1 adições e 1 exclusões
  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;