From 101fe200dc2177d9090ec24886b54b9d3c8f0904 Mon Sep 17 00:00:00 2001 From: Alan Garcia Date: Fri, 20 Sep 2013 16:41:57 +0000 Subject: [PATCH] Bug dans les detection de redirection --- bureau/class/m_dom.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bureau/class/m_dom.php b/bureau/class/m_dom.php index f1701c37..2d847e96 100644 --- a/bureau/class/m_dom.php +++ b/bureau/class/m_dom.php @@ -240,7 +240,7 @@ class m_dom { $val['comment'] = "Became a redirect to $dst_url"; $val['entry_new']['type'] = 'URL'; $val['entry_new']['sub'] = $ret['sub']; - $val['entry_new']['value'] = $url; + $val['entry_new']['value'] = $dst_url; } else { $val['status'] = 'ok'; $val['comment'] = "Create entry A with ".$ret['sub']." go to ".$ret['target']." with ttl ".$ret['ttl']; @@ -284,7 +284,7 @@ class m_dom { $val['comment'] = "Became a redirect to $dst_url"; $val['entry_new']['type'] = 'URL'; $val['entry_new']['sub'] = $ret['sub']; - $val['entry_new']['value'] = $url; + $val['entry_new']['value'] = $dst_url; } else { $val['status'] = 'ok'; $val['comment'] = "Create entry CNAME with ".$ret['sub']." go to ".$ret['target']." with ttl ".$ret['ttl'];