Index: branches/5.1.x/core/units/reviews/reviews_config.php =================================================================== diff -u -N -r13941 -r13962 --- branches/5.1.x/core/units/reviews/reviews_config.php (.../reviews_config.php) (revision 13941) +++ branches/5.1.x/core/units/reviews/reviews_config.php (.../reviews_config.php) (revision 13962) @@ -1,6 +1,6 @@ 'lu_Rating_4', 5 => 'lu_Rating_5'), 'use_phrases' => 1, - 'min_value_inc' => 0, 'max_value_inc' => 5, 'default' => 0, + 'min_value_inc' => 0, 'max_value_inc' => 5, 'not_null' => 1, 'default' => 0, ), 'IPAddress' => Array ( 'type' => 'string', @@ -140,7 +140,7 @@ WHERE `%s` = \'%s\' ', 'left_key_field' => 'PortalUserId', 'left_title_field' => 'Login', - 'required' => 1, 'not_null' => 1, 'default' => USER_ROOT, + 'required' => 1, 'default' => NULL, 'error_msgs' => Array ('invalid_option' => '!la_error_UserNotFound!'), ), 'ItemType' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0), @@ -169,6 +169,9 @@ 'CatalogItemName' => Array ('type' => 'string', 'default' => ''), 'CatalogItemId' => Array ('type' => 'int', 'default' => 0), 'CatalogItemCategory' => Array ('type' => 'int', 'default' => 0), + + 'ItemName' => Array ('type' => 'string', 'default' => ''), + 'ProductId' => Array ('type' => 'int', 'default' => 0), ), 'Grids' => Array (