Skip to content
This repository has been archived by the owner on Aug 9, 2021. It is now read-only.

Commit

Permalink
fix(policy): set minimum value for time interval
Browse files Browse the repository at this point in the history
Signed-off-by: Thierry Bugier <tbugier@teclib.com>
  • Loading branch information
btry authored and DIOHz0r committed May 10, 2018
1 parent f5d0251 commit 2af5ffd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion install/policies/mdm.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@
'symbol' => 'inventoryFrequency',
'group' => 'connectivity',
'type' => 'int',
'type_data' => '',
'type_data' => [
"min" => 0,
],
'unicity' => 1,
'plugin_flyvemdm_policycategories_id' => $category,
'comment' => __('Sets the recurrence of inventory in minutes', 'flyvemdm'),
Expand Down

0 comments on commit 2af5ffd

Please sign in to comment.