diff --git a/apps/Ajax/ajax-actions.php b/apps/Ajax/ajax-actions.php index 3834500..753fc06 100644 --- a/apps/Ajax/ajax-actions.php +++ b/apps/Ajax/ajax-actions.php @@ -174,7 +174,7 @@ function ajax_favorites() return $result; } else { - return get_ajax_error("This recipe in your favorite list is not exists", 400); + return get_ajax_error("This recipe from your favorites list does not exist.", 400); } } @@ -185,6 +185,6 @@ function ajax_favorites() $favorite->field_recipe_id = $recipe_id; $favorite->save(); - $result['success'] = 'You have successfully added recipe in your favorite list'; + $result['success'] = 'You have successfully added the recipe to your favorites list'; return $result; } \ No newline at end of file