fix TypeError: Argument 6 passed to Nextmatch::call_get_rows() must be an instance of Etemplate\Widget or null

fix calendar edit gives an error when using [Save] button in list-view
This commit is contained in:
Ralf Becker 2019-01-07 18:13:08 +01:00
parent 1fe784ad3c
commit 86ec8ee17d

View File

@ -319,6 +319,10 @@ class Nextmatch extends Etemplate\Widget
}
//error_log($this . " Valid filters: " . array2string($filters));
}
else
{
$template = null; // get_rows method requires null, not false
}
if (true) $value = $value_in = array_merge($value, $filters);