# This patch file was generated by NetBeans IDE # Following Index: paths are relative to: C:\xampp\htdocs\limesurvey\admin # This patch can be applied using context Tools: Patch action on respective folder. # It uses platform neutral UTF-8 encoding and \n newlines. # Above lines and this line are ignored by the patching process. Index: dataentry.php --- dataentry.php Base (BASE) +++ dataentry.php Locally Modified (Based On LOCAL) @@ -997,7 +997,7 @@ break; case "|": //FILE UPLOAD $dataentryoutput .= "\n"; - if ($fname['aid']!=='filecount') + if ($fname['aid']!=='filecount' && isset($idrow[$fname['fieldname'] . '_filecount']) && ($idrow[$fname['fieldname'] . '_filecount'] > 0)) {//file metadata $metadata = json_decode($idrow[$fname['fieldname']], true); $qAttributes = getQuestionAttributes($fname['qid']);