Index: trunk/kernel/units/images/images_config.php =================================================================== diff -u -N -r5320 -r7867 --- trunk/kernel/units/images/images_config.php (.../images_config.php) (revision 5320) +++ trunk/kernel/units/images/images_config.php (.../images_config.php) (revision 7867) @@ -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' => ''),