@@ -559,9 +559,9 @@ |
||
559 | 559 | $vocid = $request->getVocab()->getId(); |
560 | 560 | return $this->returnError('404', 'Not Found', "No download source URL known for vocabulary $vocid in language $dataLang"); |
561 | 561 | } |
562 | - } else { |
|
562 | + } else { |
|
563 | 563 | header("Location: " . $urls[$format]); |
564 | - } |
|
564 | + } |
|
565 | 565 | } |
566 | 566 | |
567 | 567 | private function returnDataResults($results, $format) { |