Completed web programming project #44

Merged
steve_dekart merged 117 commits from develop into master 2025-07-07 19:00:18 +02:00
Showing only changes of commit 2caecfe4a4 - Show all commits

View File

@ -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;
}