From: x2003bruneau Date: Wed, 31 Jan 2007 18:13:56 +0000 (+0000) Subject: Fix user info send when the user reports a bug X-Git-Tag: xorg/0.9.13~27 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=ffe011b1db34b42346884c42bda8ceb8abe0e4a5;p=platal.git Fix user info send when the user reports a bug git-svn-id: svn+ssh://murphy/home/svn/platal/branches/platal-0.9.13@1452 839d8a87-29fc-0310-9880-83ba4fa771e5 --- diff --git a/modules/core.php b/modules/core.php index 1680b47..2ac92ce 100644 --- a/modules/core.php +++ b/modules/core.php @@ -115,8 +115,8 @@ class CoreModule extends PLModule . "----------------------------\n" . "Page : " . Env::v('page') . "\n\n" . "Utilisateur : " . S::v('forlife') . "\n" - . "Navigateur : " . Env::v('browser') . "\n" - . "Skin : " . Env::v('skin') . "\n"; + . "Navigateur : " . $_SERVER['HTTP_USER_AGENT'] . "\n" + . "Skin : " . S::v('skin') . "\n"; $page->assign('bug_sent',1); $mymail = new PlMailer(); $mymail->setFrom('"'.S::v('prenom').' '.S::v('nom').'" <'.S::v('bestalias').'@polytechnique.org>'); diff --git a/templates/core/bug.tpl b/templates/core/bug.tpl index e3059f6..bbfdfc3 100644 --- a/templates/core/bug.tpl +++ b/templates/core/bug.tpl @@ -62,9 +62,7 @@ function fillContent()   Sujet : - - - +