@@ 81-92 (lines=12) @@ | ||
78 | // Check the status of the form |
|
79 | $status = $form->check(); |
|
80 | ||
81 | if ($status === true) { |
|
82 | ||
83 | $this->dispatcher->forward([ |
|
84 | 'controller' => 'event', |
|
85 | 'action' => 'add', |
|
86 | ]); |
|
87 | ||
88 | } else if ($status === false) { |
|
89 | ||
90 | var_dump('Check method returned false'); |
|
91 | die; |
|
92 | } |
|
93 | ||
94 | $this->views->add('calendar/calendar', [ |
|
95 | 'content' => $calendar->printResponsiveCalendar($eventCount), |
@@ 77-88 (lines=12) @@ | ||
74 | // Check the status of the form |
|
75 | $status = $form->check(); |
|
76 | ||
77 | if ($status === true) { |
|
78 | ||
79 | $app->dispatcher->forward([ |
|
80 | 'controller' => 'calendar', |
|
81 | 'action' => 'add', |
|
82 | ]); |
|
83 | ||
84 | } else if ($status === false) { |
|
85 | ||
86 | var_dump('Check method returned false'); |
|
87 | die; |
|
88 | } |
|
89 | ||
90 | ||
91 | $app->views->add('me/page', [ |