Keep original booker after edited ( by admin ) in 1.8.0
Brought to you by:
jberanek
Hi,
I have found that booker ( value of 'create_by' column in entry table ) will be lost after admin edited/modified the booking record , and the mail will not be sent for booker.
With following settings :
$auth['admin_can_only_book_for_self'] = true;
$mail_settings['booker'] = true;
Problem may caused by line#115 ~ 124 in edit_entry_handler.php ,
and affecting line#847 ~ 862 in functions_mail.inc .
Thanks for spotting this. I have now fixed it in the default branch. If you haven't already done so I recommend upgrading to the latest snapshot in the default branch: there are a number of other bug fixes in there as well.