Permalink
Browse files

Inverse logic

  • Loading branch information...
willmot committed Jul 11, 2012
1 parent d54f821 commit 003435f1b8ddc17a045382a248be78d05a95c1ad
Showing with 1 addition and 1 deletion.
  1. +1 −1 classes/schedule.php
View
@@ -365,7 +365,7 @@ public function get_schedule_start_time() {
public function set_schedule_start_time( $timestamp ) {
- if ( (int) $timestamp === $timestamp )
+ if ( (int) $timestamp !== $timestamp )
throw new Exception( 'Argument 1 for ' . __METHOD__ . ' must be a valid UNIX timestamp' );
$this->schedule_start_time = $timestamp;

0 comments on commit 003435f

Please sign in to comment.