Skip to content

Commit

Permalink
fix sla migration
Browse files Browse the repository at this point in the history
  • Loading branch information
orthagh committed Jul 6, 2016
1 parent 67ded9f commit e565fb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install/update_0903_91.php
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@ function update0903to91() {
`end_of_working_day`, `date_creation`, `slas_id`)
VALUES ('".$data['id']."', '".$data['name']."', '".$data['entities_id']."',
'".$data['is_recursive']."', '".SLT::TTR."',
'".addslashes($data['comment'])."', '".$data['number_time']."',
'".addslashes($data['comment'])."', '".$data['resolution_time']."',
'".$data['date_mod']."',
'".$data['definition_time']."', '".$data['end_of_working_day']."',
'".date('Y-m-d H:i:s')."', '".$data['id']."');";
Expand Down

2 comments on commit e565fb6

@yllen
Copy link
Collaborator

@yllen yllen commented on e565fb6 Jul 8, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@orthagh in 9.1 empty the name of the field is 'number_time'

@orthagh
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, but this is the migration and $data contains old values of glpi_slas (before the schema changing)

Please sign in to comment.