Selaa lähdekoodia

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 vuotta sitten
vanhempi
commit
e30c384ed5
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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