From: Banana Date: Mon, 3 Feb 2020 12:28:18 +0000 (+0100) Subject: remove debug string X-Git-Tag: 2.4_2020-02-16~9 X-Git-Url: http://91.132.146.200/gitweb/?a=commitdiff_plain;h=5daf3eb7c03772ddb4806f1c55ff3b483a1c1b4c;p=insipid.git remove debug string --- 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';