Index: branches/unlabeled/unlabeled-1.4.2/core/units/images/images_config.php =================================================================== diff -u -r5560 -r7849 --- branches/unlabeled/unlabeled-1.4.2/core/units/images/images_config.php (.../images_config.php) (revision 5560) +++ branches/unlabeled/unlabeled-1.4.2/core/units/images/images_config.php (.../images_config.php) (revision 7849) @@ -77,7 +77,7 @@ ) ), 'Fields' => Array( - 'ImageId' => Array('type'=>'int'), + 'ImageId' => Array('type' => 'int', 'not_null' => 1, 'default' => 0), 'ResourceId' => Array('type'=>'int', 'not_null'=>1, 'default' => 0), 'Url' => Array('max_len'=>255, 'default' => '', 'not_null'=>1), 'Name' => Array('max_len'=>255, 'required'=>1, 'not_null'=>1, 'default' => ''),