mirror of
https://github.com/Karaka-Management/oms-Calendar.git
synced 2026-02-10 05:28:42 +00:00
Minor functioinality improvements
This commit is contained in:
parent
440c7ed347
commit
56f6704a37
|
|
@ -31,6 +31,10 @@ class BaseView extends View
|
|||
|
||||
public function render(...$data) : string
|
||||
{
|
||||
if (empty($data) || $data[0] === null) {
|
||||
return '';
|
||||
}
|
||||
|
||||
$this->calendar = $data[0];
|
||||
return parent::render();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user