Skip to content

Commit

Permalink
Fixed issue #09709: Unable to export token by CSV
Browse files Browse the repository at this point in the history
Dev: cherry-picking without control, but it's OK
  • Loading branch information
Shnoulle committed Jun 23, 2015
1 parent d7e5450 commit bdb2e7c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions application/extensions/SettingsWidget/SettingsWidget.php
Expand Up @@ -95,6 +95,8 @@ protected function renderButton($label, $metaData)
elseif(isset($metaData['type']))
{
$htmlOptions['type']=$metaData['type'];
if(!empty($metaData['name']) && is_string($metaData['name']))
$htmlOptions['name']=$metaData['name'];
return CHtml::htmlButton($label, $htmlOptions);
}
elseif(isset($htmlOptions['type'])) // Allow type button or cancel in pluginSettings>settings>button
Expand Down

0 comments on commit bdb2e7c

Please sign in to comment.