| @@ -37,9 +37,9 @@ | ||
| 37 | 37 | $this->widgetIcon = '<i class="' . VikBookingIcons::i('exclamation-triangle') . '"></i>'; |
| 38 | 38 | $this->widgetStyleName = 'red'; |
| 39 | 39 | } |
| 40 | 40 | |
| 41 | - public function render(VBOMultitaskData $data = null) | |
| 41 | + public function render(?VBOMultitaskData $data = null) | |
| 42 | 42 | { |
| 43 | 43 | $vbo_auth_pricing = JFactory::getUser()->authorise('core.vbo.pricing', 'com_vikbooking'); |
| 44 | 44 | if (!$vbo_auth_pricing) { |
| 45 | 45 | return; |
| @@ -55,9 +55,9 @@ | ||
| 55 | 55 | </div> |
| 56 | 56 | <div class="vbo-orphans-info-list"> |
| 57 | 57 | <div style="min-height: 152px;"> |
| 58 | 58 | <div class="vbo-orphans-info-room"> |
| 59 | - <h4>0</h4> | |
| 59 | + <h4> ----- </h4> | |
| 60 | 60 | </div> |
| 61 | 61 | </div> |
| 62 | 62 | </div> |
| 63 | 63 | </div> |
| @@ -62,9 +62,9 @@ | ||
| 62 | 62 | </div> |
| 63 | 63 | </div> |
| 64 | 64 | |
| 65 | 65 | <script type="text/JavaScript"> |
| 66 | - jQuery(document).ready(function() { | |
| 66 | + jQuery(function() { | |
| 67 | 67 | // check orphans (only if not disabled through the original cookie of the previous versions of Vik Booking) |
| 68 | 68 | var hideorphans = false; |
| 69 | 69 | var buiscuits = document.cookie; |
| 70 | 70 | if (buiscuits.length) { |