Skip to content
Snippets Groups Projects
Commit c3d48a91 authored by Jared Hancock's avatar Jared Hancock
Browse files

task: Fix crash if missing cdata table

parent aa023156
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,9 @@
$tasks = Task::objects();
$date_header = $date_col = false;
// Make sure the cdata materialized view is available
TaskForm::ensureDynamicDataView();
// Figure out REFRESH url — which might not be accurate after posting a
// response
list($path,) = explode('?', $_SERVER['REQUEST_URI'], 2);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment