Fix small issue, now all names of authors of logs are stored.
This commit is contained in:
parent
a883f4d430
commit
fa5300a731
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue