diff --git a/Views/recipe/view.php b/Views/recipe/view.php index 9697040..ef41e4a 100644 --- a/Views/recipe/view.php +++ b/Views/recipe/view.php @@ -11,7 +11,7 @@ $O_recipe = $A_view["RECIPE"];

S_NAME ?>

I_TIME ?> — O_DIFFICULTY->S_NAME ?>

-

S_DESC ?>

+

S_DESCR ?>

@@ -35,7 +35,14 @@ $O_recipe = $A_view["RECIPE"];
-

By getAuthor()->S_USERNAME ?>

+ getAuthor(); + if($O_author === null) { + echo '

By an anonymous user

'; + } else { + echo '

By '.$O_author->S_USERNAME.'

'; + } + ?>