From 94bd508ed9e2c7d6e67f173353f24fc639d70a12 Mon Sep 17 00:00:00 2001 From: Ahmad Gneady Date: Thu, 21 Jan 2021 12:29:29 +0200 Subject: [PATCH] Fix 'no direct access allowed' in CSV import page. --- app/resources/lib/CSVImportUI.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/resources/lib/CSVImportUI.php b/app/resources/lib/CSVImportUI.php index fd5e62d..6eb6df2 100644 --- a/app/resources/lib/CSVImportUI.php +++ b/app/resources/lib/CSVImportUI.php @@ -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");