Fix PHP Fatal error: __clone method called on non-object (#5424)
When using Tomorrow filter in Tasks or in other circumstances.
This commit is contained in:
parent
3c0e93f6aa
commit
4e2bc9bdc6
1 changed files with 1 additions and 1 deletions
|
@ -1330,7 +1330,7 @@ class tasklist extends rcube_plugin
|
|||
*/
|
||||
public function filter_mask($rec)
|
||||
{
|
||||
static $today, $tomorrow, $weeklimit;
|
||||
static $today, $today_date, $tomorrow, $tomorrow_date, $week_date, $weeklimit;
|
||||
|
||||
if (!$today) {
|
||||
$today_date = new DateTime('now', $this->timezone);
|
||||
|
|
Loading…
Add table
Reference in a new issue