Commit 1a559270 authored by m.stenta's avatar m.stenta
Browse files

If a Log entity doesn't have a name, just call it Log.

parent 66b9acdc
......@@ -10,7 +10,12 @@
*/
class Log extends Entity {
protected function defaultLabel() {
return $this->name;
if (!empty($this->name)) {
return $this->name;
}
else {
return 'Log';
}
}
protected function defaultUri() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment