Commit 9bb9067a authored by bitswreck's avatar bitswreck Committed by Jelle_S

Issue #2767029 by tbfisher: webform_multifile_update_7001() sets non...

Issue #2767029 by tbfisher: webform_multifile_update_7001() sets non webform_multifile component values to "false"
parent 1cb73567
......@@ -37,7 +37,7 @@ function webform_multifile_requirements($phase) {
function webform_multifile_update_7001(&$sandbox) {
$q = db_select('webform_submitted_data', 'd')
->fields('d');
$q->join('webform_component', 'c', 'c.cid = d.cid');
$q->join('webform_component', 'c', 'c.nid = d.nid and c.cid = d.cid');
$q->condition('c.type', 'multifile');
if (!isset($sandbox['total'])) {
$sandbox['current'] = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment