Skip to content

Commit

Permalink
Merge pull request #177 from drupalprojects/7.x-3.x1-bootstrap-upload
Browse files Browse the repository at this point in the history
7.x 3.x1 bootstrap upload
  • Loading branch information
pirog committed May 27, 2015
2 parents 3dd659e + e306f9e commit 6664460
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/config.inc
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ function kalatheme_custom_bootstrap_library_submit(&$form, &$form_state) {
// Use a custom bootstrap library
// This can either be a file upload or a URL although the URL option really
// only works with drush
if (isset($_FILES['files']['name']['bootstrap_upload']) || !empty($form_state['values']['bootstrap_upload'])) {
if (!empty($_FILES['files']['name']['bootstrap_upload']) || !empty($form_state['values']['bootstrap_upload'])) {
$projects[] = kalatheme_custom_bootstrap_library_build($form_state['values']);
}
// Run the batch operation if we have things to move
Expand Down

0 comments on commit 6664460

Please sign in to comment.