Parcourir la source

Fix datatime field type check in TableAcl

Piotr Labudda il y a 10 ans
Parent
commit
23ca016706
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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;