return null in model if recipe doesn't exists
This commit is contained in:
parent
66d4a89bdb
commit
1388fc1205
@ -37,6 +37,7 @@ final class RecipeModel
|
||||
public function getFullRecipeWithApprs($I_id)
|
||||
{
|
||||
$A_recipe = self::getFullRecipe($I_id);
|
||||
if ($A_recipe === null)return null;
|
||||
|
||||
$O_apprModel = new ApprModel();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user