Open tsmr opened 9 years ago
//$this->initForm(key($dbentries), $options); into function formDeleteEntry dans timeslotentry.class.php
correct the problem
Not have this error :/ Have you the scenario to reproduce this error?
I have this too on 9.1-1.1. To reproduce, create a timeslot and use as hours Monday 00:00 and Friday 24:00.
Trace:
$ tail -n 16 files/_log/php-errors.log
2017-01-17 09:43:53 [2@model-ubuntu]
*** PHP Warning(2): Cannot modify header information - headers already sent by (output started at /var/www/html/glpi/inc/dropdown.class.php:1965)
Backtrace :
:
inc/html.class.php:2478 header()
inc/html.class.php:1104 Html::header_nocache()
inc/html.class.php:1341 Html::includeHeader()
inc/html.class.php:843 Html::header()
inc/html.class.php:537 Html::displayErrorAndDie()
inc/commondbtm.class.php:2558 Html::displayRightError()
inc/commondbtm.class.php:2231 CommonDBTM->check()
...fusioninventory/inc/timeslotentry.class.php:197 CommonDBTM->initForm()
...fusioninventory/inc/timeslotentry.class.php:173 PluginFusioninventoryTimeslotEntry->formDeleteEntry()
plugins/fusioninventory/inc/timeslot.class.php:281 PluginFusioninventoryTimeslotEntry->formEntry()
inc/commonglpi.class.php:467 PluginFusioninventoryTimeslot->showForm()
ajax/common.tabs.php:97 CommonGLPI::displayStandardTab()
.
Version 0.85+1.3 Trace :