fixed minor error in visual console favourite

This commit is contained in:
daniel 2018-01-08 17:43:31 +01:00
parent 7c928e9cc1
commit 4c908dd8ad
2 changed files with 2 additions and 2 deletions

View File

@ -177,7 +177,7 @@ $table->data[5][1] .= '<span class="opt" style="visibility:hidden;">
value="modsize">' . __('Get default image size') .
'</button></span>';
$table->data[6][0] = __('Fovourite visual console');
$table->data[6][0] = __('Favourite visual console');
$table->data[6][1] = html_print_checkbox('is_favourite', 0, $is_favourite, true);
if ($action == 'new') {

View File

@ -528,7 +528,7 @@ function config_update_config () {
if (!config_update_value ('vc_refr', get_parameter('vc_refr')))
$error_update[] = __('Default interval for refresh on Visual Console');
if (!config_update_value ('vc_favourite_view', (int) get_parameter('vc_favourite_view', 0)))
if (!config_update_value ('vc_favourite_view', (int) get_parameter('vc_favourite_view', 5)))
$error_update[] = __('Default line favourite_view for the Visual Console');
if (!config_update_value ('vc_menu_items', (int) get_parameter('vc_menu_items', 10)))
$error_update[] = __('Default line menu items for the Visual Console');