Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

Commit

Permalink
fix warning in timeslot form (#2318)
Browse files Browse the repository at this point in the history
  • Loading branch information
orthagh committed Oct 20, 2017
1 parent 873fa1d commit c11ffee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inc/timeslotentry.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,9 @@ function formDeleteEntry($timeslots_id) {

$dbentries = getAllDatasFromTable(
'glpi_plugin_fusioninventory_timeslotentries',
"`plugin_fusioninventory_timeslots_id`='".$timeslots_id."'",
['plugin_fusioninventory_timeslots_id' => $timeslots_id],
'',
'`day`, `begin` ASC');
['day', 'begin ASC']);

$options = array();
$this->initForm(key($dbentries), $options);
Expand Down

0 comments on commit c11ffee

Please sign in to comment.