Skip to content

Commit

Permalink
Fix typo in dkan_datastore_proxy (#3007)
Browse files Browse the repository at this point in the history
  • Loading branch information
janette authored and dharizza committed Jan 8, 2020
1 parent f59ca8b commit 17d22d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/dkan/dkan_datastore/dkan_datastore.pages.inc
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function dkan_datastore_proxy($node) {
$size = isset($node_wrapper->field_link_remote_file->value()['filesize']) ? (int) $node_wrapper->field_link_remote_file->value()['filesize'] : $max;

if ($size >= $max) {
drupal_goto($url);
drupal_goto($uri);
}
else {
drupal_add_http_header('Content-Type', $mime);
Expand Down

0 comments on commit 17d22d2

Please sign in to comment.