Fix small issue, now all names of authors of logs are stored.

This commit is contained in:
Maxi Redigonda 2019-11-08 10:57:25 -03:00
parent a883f4d430
commit fa5300a731
1 changed files with 4 additions and 1 deletions

View File

@ -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();