Przeglądaj źródła

Fixed for Trac #223: when checking the value of an attribute also use the pattern matching defined at the atribute level itself to ensure consistency.

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@693 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 15 lat temu
rodzic
commit
e30c384ed5
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      core/dbobject.class.php

+ 1 - 1
core/dbobject.class.php

@@ -648,7 +648,7 @@ abstract class DBObject
 				}
 			}
 		}
-		return true;
+		return $oAtt->CheckValue($toCheck); // Check the format
 	}
 	
 	// check attributes together