Locale works only in the pages php
Brought to you by:
jberanek
Dear Campbell,
I would like to move an existing booking to another room in the case a custom checkbox is checked.
I try that using this formula in edit_entry_handler.php but nothing happens, the booking remains in the same room.
if (($booking['custom_checkbox']==1) && ($old_booking['room_id'] == 1))
{
$room_id = 22;
}
when
$old_booking = get_booking_info($id, FALSE);
What could be the problem?
Thank you in advance.
Sorry, the title was wrong, but I can't delete the post.
See https://sourceforge.net/p/mrbs/support-requests/2758/