mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-04 18:29:39 +02:00
Fix error
This commit is contained in:
parent
2c142aa6fa
commit
d84d39bfc2
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ class Scheduler_commands extends ObjectYPT {
|
|||
}
|
||||
|
||||
function setDate_to_execute($date_to_execute) {
|
||||
if(!is_numeric($date_to_execute)){
|
||||
if(is_numeric($date_to_execute)){
|
||||
$date_to_execute = date('Y-m-d H:i:s', $date_to_execute);
|
||||
}
|
||||
$this->date_to_execute = $date_to_execute;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue