Add array to woocommerce_downloadable_file_permission_format

This commit is contained in:
Illimar Tambek 2013-09-24 11:10:46 +03:00
parent 0a3cdc43ca
commit 64c09cabd7
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ function woocommerce_downloadable_file_permission( $download_id, $product_id, $o
'%s',
'%s',
'%d'
));
), $data);
if ( ! is_null( $expiry ) ) {
$data['access_expires'] = $expiry;