Skip to content

Commit 49a3719

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

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
@@ -320,7 +320,7 @@ public function get_zip_filename( $entry ) {
320320
$form = GFAPI::get_form( $form_id );
321321
// replace merge tags in the zip file name
322322
$zip_name = GFCommon::replace_variables( $this->_args['zip_name'], $form, $entry, false, false, false, 'text' );
323-
return $this->get_slug( $zip_name, $entry['id'], $this->_args['field_ids'] ) . '.zip';
323+
return $this->get_slug( $zip_name, false, $this->_args['field_ids'] ) . '.zip';
324324
}
325325

326326
public function get_meta_key( $entry_id = false ) {

0 commit comments

Comments
 (0)