Преглед на файлове

Merge pull request #866 from jloguercio/anotherFixes

fix some notice in user information
Yannick Warnier преди 9 години
родител
ревизия
a54a02d02e
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      main/inc/lib/display.lib.php

+ 2 - 2
main/inc/lib/display.lib.php

@@ -232,8 +232,8 @@ class Display
                 foreach ($header as $index => $header_item) {
                     $table->set_header(
                         $index,
-                        $header_item[0],
-                        $header_item[1],
+                        isset($header_item[0]) ? $header_item[0] : null,
+                        isset($header_item[1]) ? $header_item[1] : null,
                         isset($header_item[2]) ? $header_item[2] : null,
                         isset($header_item[3]) ? $header_item[3] : null
                     );