Skip to content

Commit

Permalink
fix TypeError: Argument 6 passed to Nextmatch::call_get_rows() must b…
Browse files Browse the repository at this point in the history
…e an instance of Etemplate\Widget or null

fix calendar edit gives an error when using [Save] button in list-view
  • Loading branch information
ralfbecker committed Jan 7, 2019
1 parent 0ccd9cb commit c8a1d88
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions api/src/Etemplate/Widget/Nextmatch.php
Expand Up @@ -320,6 +320,10 @@ static public function ajax_get_rows($exec_id, array $queriedRange, array $filte
}
//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);

Expand Down

0 comments on commit c8a1d88

Please sign in to comment.