From c0c4e1e0bedd1304c86a87a3f7f773ab2a60aaa2 Mon Sep 17 00:00:00 2001 From: Alan Garcia Date: Fri, 20 Sep 2013 15:13:47 +0000 Subject: [PATCH] =?UTF-8?q?Import=20de=20zone:=20affiche=20les=20erreurs?= =?UTF-8?q?=20apr=C3=A8s=20l'import?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bureau/admin/dom_add.php | 2 +- bureau/class/m_dom.php | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/bureau/admin/dom_add.php b/bureau/admin/dom_add.php index cc5d425a..be09defa 100644 --- a/bureau/admin/dom_add.php +++ b/bureau/admin/dom_add.php @@ -54,7 +54,7 @@ if (isset($error) && $error) echo "

$error

"; ?>

- www. + www.

/>  diff --git a/bureau/class/m_dom.php b/bureau/class/m_dom.php index c065e034..f1701c37 100644 --- a/bureau/class/m_dom.php +++ b/bureau/class/m_dom.php @@ -335,7 +335,10 @@ class m_dom { private function import_manual_dns_entry_doit($entry) { global $err; - if ( $entry['status'] == 'err' ) return false; + if ( $entry['status'] == 'err' ) { + $entry['did_it'] = 0; + return $entry; + } $val=$entry['entry_new'];