From 5daf3eb7c03772ddb4806f1c55ff3b483a1c1b4c Mon Sep 17 00:00:00 2001 From: Banana Date: Mon, 3 Feb 2020 13:28:18 +0100 Subject: [PATCH] remove debug string --- webroot/lib/management.class.php | 1 - webroot/view/editlink.inc.php | 1 - 2 files changed, 2 deletions(-) diff --git a/webroot/lib/management.class.php b/webroot/lib/management.class.php index 32e02e0..71a8008 100644 --- a/webroot/lib/management.class.php +++ b/webroot/lib/management.class.php @@ -668,7 +668,6 @@ class Management { } if(!empty($data) && isset($data['link'])) { - require_once 'lib/import-export.class.php'; $ImEx = new ImportExport(); $ret = $ImEx->createSingleLinkExportXML($data); diff --git a/webroot/view/editlink.inc.php b/webroot/view/editlink.inc.php index 5c480a8..5717797 100644 --- a/webroot/view/editlink.inc.php +++ b/webroot/view/editlink.inc.php @@ -68,7 +68,6 @@ if($_isAwm === true) { if($_requestMode && $_requestMode == "export") { $_i = $linkObj->getData('id'); - $_i = false; if(!empty($_i)) { $exportFilename = 'inspid-single-export-'.$_i.'.xml'; -- 2.39.5