Skip to content

Commit 021c633

Browse files
committed
gw-zip-files.php: Updated snippet to add support for merge tags in zip files.
1 parent d64ede1 commit 021c633

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gravity-forms/gw-zip-files.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ public function get_zip_filename( $entry ) {
319319
$form_id = $entry['form_id'];
320320
$form = GFAPI::get_form( $form_id );
321321
// replace merge tags in the zip file name
322-
$zip_name = GFCommon::replace_variables( $this->_args['zip_name'], $form, $entry, false, false, false );
322+
$zip_name = GFCommon::replace_variables( $this->_args['zip_name'], $form, $entry, false, false, false, 'text' );
323323
return $this->get_slug( $zip_name, $entry['id'], $this->_args['field_ids'] ) . '.zip';
324324
}
325325

0 commit comments

Comments
 (0)