Booked Scheduler Community Support
January 23, 2019, 02:26:39 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Booked 2.7 beta has been released!
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: Email messages not displaying correct App Title.  (Read 307 times)
ppraaron
Newbie
*

Karma: 0
Posts: 2


« on: October 30, 2018, 06: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


« Reply #1 on: January 03, 2019, 04:37:37 AM »

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!