Commit 958b207e authored by Erick Hitter's avatar Erick Hitter
Browse files

Fix type as Golang is particular

parent 77d69596
......@@ -43,7 +43,7 @@ class Events extends Singleton {
}
// Check if execution is disabled, or if timestamp has passed
$disabled = get_option( self::DISABLE_RUN_OPTION, 0 );
$disabled = (int) get_option( self::DISABLE_RUN_OPTION, 0 );
if ( $disabled <= 1 ) {
$this->run_disabled = $disabled;
} elseif ( $disabled > time() ) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment