Fix PHP Fatal error: __clone method called on non-object when using Tomorrow filter in Tasks
This commit is contained in:
parent
3c0e93f6aa
commit
042f2889b9
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