firebase integration
This commit is contained in:
+1
-1
@@ -48,7 +48,7 @@ $t = $copy[$lang];
|
||||
|
||||
$allRecipes = load_recipes();
|
||||
$slug = isset($_GET['slug']) ? trim($_GET['slug']) : '';
|
||||
$recipeRaw = $slug ? find_recipe_by_slug($allRecipes, $slug) : null;
|
||||
$recipeRaw = $slug ? load_recipe_by_slug($slug) : null;
|
||||
$recipe = $recipeRaw ? localize_recipe($recipeRaw, $lang) : null;
|
||||
$allRecipesLocal = localize_recipes($allRecipes, $lang);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user