- Issue created by @Anybody
- 🇩🇪Germany Anybody Porta Westfalica
I think we should simply make it bulletproof like this, just benefits:
// Determine whether views or hard-coded tables should be used for the // webforms table. if (!webform_variable_get('webform_table')) { $view = views_get_view('webform_webforms'); if($view){ return $view->preview('default'); } }
- Merge request !513Issue #3472546: Load View only if it exists in webform_admin_content() → (Merged) created by Anybody
- Status changed to Needs review
7 months ago 10:31am 6 September 2024 - 🇩🇪Germany Anybody Porta Westfalica
Works perfectly and makes things even more robust without downsides. Good enough I think.
- 🇩🇪Germany Anybody Porta Westfalica
Workaround / alternative is to set the Drupal variable:
drush vset webform_table 1
if it is unset or false for any reason and you're running into this. - Status changed to RTBC
5 months ago 12:50am 12 November 2024 -
liam morland →
committed a0ea10d1 on 7.x-4.x authored by
anybody →
Issue #3472546: Load View only if it exists in webform_admin_content()
-
liam morland →
committed a0ea10d1 on 7.x-4.x authored by
anybody →
Automatically closed - issue fixed for 2 weeks with no activity.