Skip to content

Commit

Permalink
Fix 'no direct access allowed' in CSV import page.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahmad Gneady committed Jan 21, 2021
1 parent c52d1b3 commit 3bb6e58
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/resources/lib/CSVImportUI.php
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ private function editableTables() {
* @return string full page HTML after translating and wrapping given $html inside header and footer
*/
private function html($html, $replace = []) {
global $Translation;
ob_start();
@include_once("{$this->appDir}/header.php");

Expand Down

0 comments on commit 3bb6e58

Please sign in to comment.