function panels_views_update_pvids_submit in Panels 5.2
If we've gotten this far, then we know we've got pvids that could need updating. Don't bother with fancy footwork to see if the view name was actually changed - just update em to be safe. Also no need to update the whole view pane, so we just batch update using IN ().
File
- panels_views/
panels_views.module, line 1539 - panels_views.module
Code
function panels_views_update_pvids_submit($form_id, $form_values) {
db_query("UPDATE {panels_views} SET view = '%s' WHERE pvid IN (" . implode(', ', $form_values['dependent_pvids']) . ")", $form_values['name']);
}