Booked Scheduler Community Support
February 19, 2020, 08:48:38 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: Email messages not displaying correct App Title.  (Read 1424 times)
ppraaron
Newbie
*

Karma: 0
Posts: 2


« on: October 30, 2018, 02:10:17 PM »

I noticed in a 2.7.2 install that email messages sent to a user for a reservation used the generic "Log into Booked" link. Looking at the /lib/Email/EmailMessage.php file I notice that the __construct function uses the
Code:
$this->Set('AppTitle', (empty($appTitle) ? 'Booked' : $appTitle));
command to set the AppTitle but it doesn't have any reference to the $appTitle variable.

I resolved in testing by adding
Code:
$appTitle = Configuration::Instance()->GetKey(ConfigKeys::APP_TITLE);
within the first few lines of the __construct function.

As a workaround this resolved the issue but I'm not sure this is the direction developers planned to go.
Logged
Sienova
Newbie
*

Karma: 0
Posts: 2


WWW
« Reply #1 on: January 02, 2019, 11:37:37 PM »

We would like to thank you very much for the information we received because it is very good information.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.20 | SMF © 2006-2007, Simple Machines Valid XHTML 1.0! Valid CSS!