Commit 1bbd3836 authored by joseph.olstad's avatar joseph.olstad

#1394316 add missing array declaration to fix warning messages

parent 62f40f81
......@@ -93,6 +93,7 @@ function theme_lightbox2_image($variables) {
if (user_access('download original image')) {
$url_download = file_create_url($item['uri']);
$download_original_text = t(variable_get('lightbox2_download_link_text', 'Download Original'));
$options_download = array();
$options_download['attributes']['title'] = $download_original_text;
$options_download['attributes']['download'] = '';
$rel .= '<p>' . l($download_original_text, $url_download, $options_download) . '</p>';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment