Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
isp
ISPConfig 3
Commits
15ddf6db
Commit
15ddf6db
authored
Jan 18, 2018
by
Ederson Mora
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update cron.inc.php
parent
6f8ed7d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
server/lib/classes/cron.inc.php
server/lib/classes/cron.inc.php
+3
-3
No files found.
server/lib/classes/cron.inc.php
View file @
15ddf6db
...
...
@@ -271,9 +271,9 @@ class cron {
}
*/
foreach
(
$this
->
_aValidValues
[
$sField
]
as
$key
=>
$value
)
{
if
(
$bIncludeCurrent
==
true
&&
$value
>=
$iValue
)
return
$value
;
elseif
(
$value
>
$iValue
)
return
$value
;
}
if
(
$bIncludeCurrent
==
true
&&
$value
>=
$iValue
)
return
$value
;
elseif
(
$value
>
$iValue
)
return
$value
;
}
return
reset
(
$this
->
_aValidValues
[
$sField
]);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment