From fa5300a731ce1177723c9b683dc0fa3847459898 Mon Sep 17 00:00:00 2001 From: Maxi Redigonda Date: Fri, 8 Nov 2019 10:57:25 -0300 Subject: [PATCH] Fix small issue, now all names of authors of logs are stored. --- server/models/Log.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/server/models/Log.php b/server/models/Log.php index 5112c124..3faf7ad6 100755 --- a/server/models/Log.php +++ b/server/models/Log.php @@ -39,7 +39,10 @@ class Log extends DataStore { if($author === null) { $author = Controller::getLoggedUser(); - if(!$author->isNull()) $authorName = $author->name; + } + + if(!$author->isNull()) { + $authorName = $author->name; } $log = new Log();