Skip to content

Commit

Permalink
Update scenario.class.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Loïc committed Aug 4, 2016
1 parent 90edee0 commit 2052372
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/class/scenario.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -1283,7 +1283,7 @@ public function getTimeout($_default = null) {
}

public function setTimeout($timeout) {
if ($timeout == '' || is_string($timeout) || is_nan(intval($timeout)) || $timeout < 1) {
if ($timeout == '' || is_nan(intval($timeout)) || $timeout < 1) {
$timeout = '';
}
$this->timeout = $timeout;
Expand Down

0 comments on commit 2052372

Please sign in to comment.