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

Commit

Permalink
Fix php error when use deploy package check free space greater than. c…
Browse files Browse the repository at this point in the history
…loses #3131
  • Loading branch information
ddurieux committed Mar 21, 2021
1 parent 65181a9 commit b4bfa86
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions inc/deploycheck.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,9 @@ function getValues($type, $data, $mode) {
foreach ($type_values as $key => $value) {
$values[$key] = $value;
}
if ($type == 'freespaceGreater' && !is_numeric($values['value'])) {
$values['value'] = 0;
}
return $values;
}

Expand Down

0 comments on commit b4bfa86

Please sign in to comment.