Skip to content

Commit

Permalink
Fixed issue #7165: VV-import/export leads to changes of data
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed Jan 21, 2013
1 parent d9c4aa8 commit 51612ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/controllers/admin/dataentry.php
Expand Up @@ -2419,7 +2419,7 @@ private function _prepFieldValues($fieldnames, $field, $fieldcount, $donotimport
// Make this safe for DB (*after* we undo first excel's
// and then our escaping).
$fieldvalues = array_map( 'dbQuoteAll', $fieldvalues );
$fieldvalues = str_replace( dbQuoteAll('{question_not_shown}'), 'NULL', $fieldvalues );
$fieldvalues = str_replace( dbQuoteAll('{question_not_shown}'), null, $fieldvalues );

return $fieldvalues;
}
Expand Down

0 comments on commit 51612ed

Please sign in to comment.