From 14dad7511102d4e9e516ad951b92c35dc32d43b6 Mon Sep 17 00:00:00 2001 From: Quitta Date: Tue, 10 Sep 2013 04:42:36 +0200 Subject: [PATCH] Just retested the mailing functionality, which seems to still work proper --- .../ryzom/tools/server/ryzom_ams/ams_lib/autoload/helpers.php | 4 ++-- code/ryzom/tools/server/ryzom_ams/ams_lib/translations/en.ini | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/code/ryzom/tools/server/ryzom_ams/ams_lib/autoload/helpers.php b/code/ryzom/tools/server/ryzom_ams/ams_lib/autoload/helpers.php index 9bf7f03e1..24bfc5abd 100644 --- a/code/ryzom/tools/server/ryzom_ams/ams_lib/autoload/helpers.php +++ b/code/ryzom/tools/server/ryzom_ams/ams_lib/autoload/helpers.php @@ -91,11 +91,11 @@ class Helpers{ { // if HTTP_USER_AGENT is not set then its ryzom core global $FORCE_INGAME; - if (( strpos($_SERVER['HTTP_USER_AGENT'],"Ryzom") === 0) || $FORCE_INGAME){ + if ( ( isset($_SERVER['HTTP_USER_AGENT']) && (strpos($_SERVER['HTTP_USER_AGENT'],"Ryzom") === 0)) || $FORCE_INGAME){ return true; }else{ return false; - } + } } static public function handle_language(){ diff --git a/code/ryzom/tools/server/ryzom_ams/ams_lib/translations/en.ini b/code/ryzom/tools/server/ryzom_ams/ams_lib/translations/en.ini index bebed5301..db50a7398 100644 --- a/code/ryzom/tools/server/ryzom_ams/ams_lib/translations/en.ini +++ b/code/ryzom/tools/server/ryzom_ams/ams_lib/translations/en.ini @@ -161,7 +161,7 @@ email_subject_new_ticket = "New ticket created [Ticket #" email_body_new_ticket_1 = "---------- Ticket #" email_body_new_ticket_2 = " ---------- Your ticket: " -email_body_new_ticket_3 = " is newly created +email_body_new_ticket_3 = " ,is newly created ---------- " email_body_new_ticket_4 = "