Index: branches/5.1.x/core/units/images/images_config.php =================================================================== diff -u -N -r13941 -r13962 --- branches/5.1.x/core/units/images/images_config.php (.../images_config.php) (revision 13941) +++ branches/5.1.x/core/units/images/images_config.php (.../images_config.php) (revision 13962) @@ -1,6 +1,6 @@ Array('Name' => 'asc'), ) ), - + 'Fields' => Array ( 'ImageId' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0), 'ResourceId' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0), @@ -126,7 +126,7 @@ 'Enabled' => Array ( 'type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'la_Enabled', 0 => 'la_Disabled',), - 'default' => 0, 'not_null' => 1, 'use_phrases' => 1, + 'default' => 1, 'not_null' => 1, 'use_phrases' => 1, ), 'DefaultImg' => Array ( 'type' => 'int', 'formatter' => 'kOptionsFormatter', @@ -158,8 +158,8 @@ ), 'VirtualFields' => Array( - 'Preview' => Array(), - 'ImageUrl' => Array(), + 'Preview' => Array ('type' => 'string', 'default' => ''), + 'ImageUrl' => Array ('type' => 'string', 'default' => ''), ), 'Grids' => Array(