Explorar o código

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 %!s(int64=15) %!d(string=hai) anos
pai
achega
e30c384ed5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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