Index: trunk/core/units/categories/categories_config.php =================================================================== diff -u -N -r7702 -r7855 --- trunk/core/units/categories/categories_config.php (.../categories_config.php) (revision 7702) +++ trunk/core/units/categories/categories_config.php (.../categories_config.php) (revision 7855) @@ -220,7 +220,7 @@ 'Fields' => Array ( - 'CategoryId' => Array('type' => 'int','not_null' => 1,'default' => ''), + 'CategoryId' => Array('type' => 'int','not_null' => 1,'default' => 0), 'Type' => Array('type' => 'int','not_null' => 1,'default' => 0), 'ParentId' => Array('type' => 'int','not_null' => 1,'default' => 0), 'Name' => Array('type' => 'string', 'formatter' => 'kMultiLanguage', 'not_null' => 1, 'required' => 1, 'default' => ''), @@ -230,10 +230,9 @@ 'CreatedOn' => Array('formatter' => 'kDateFormatter', 'default'=>'#NOW#', 'required' => 1, 'not_null' => 1), 'EditorsPick' => Array('type' => 'int', 'not_null' => 1, 'default' => 0), 'Status' => Array('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'la_Active', 2 => 'la_Pending', 0 => 'la_Disabled' ), 'use_phrases' => 1, 'not_null' => 1,'default' => 2), - 'Pop' => Array('type' => 'int', 'default' => ''), - 'Priority' => Array('type' => 'int', 'not_null' => 1, 'default' => ''), + 'Priority' => Array('type' => 'int', 'not_null' => 1, 'default' => 0), 'MetaKeywords' => Array('type' => 'string', 'default' => ''), - 'CachedDescendantCatsQty' => Array('type' => 'int', 'default' => ''), + 'CachedDescendantCatsQty' => Array('type' => 'int', 'default' => 0), 'CachedNavbar' => Array('type' => 'string', 'formatter' => 'kMultiLanguage', 'not_null' => 1, 'default' => ''), 'CreatedById' => Array('type' => 'int', 'formatter' => 'kLEFTFormatter', 'options' => Array(-1 => 'root', -2 => 'Guest'),'left_sql'=>'SELECT %s FROM '.TABLE_PREFIX.'PortalUser WHERE `%s` = \'%s\'', 'left_key_field' => 'PortalUserId', 'left_title_field' => 'Login', 'not_null' => 1,'default' => '0'), 'ResourceId' => Array('type' => 'int', 'default' => ''),