@@ -566,7 +566,7 @@ |
||
566 | 566 | return 1; // Draft. |
567 | 567 | } elseif ($this->published_at === null) { |
568 | 568 | return 2; // Review requested, but not approved. |
569 | - } elseif ($this->open_date_time === null || $this->open_date_time >$now) { |
|
569 | + } elseif ($this->open_date_time === null || $this->open_date_time > $now) { |
|
570 | 570 | return 3; // Approved, but not open. |
571 | 571 | } elseif ($this->close_date_time === null || $this->close_date_time > $now) { |
572 | 572 | // Approved and currently open. |