Strict warning: Only variables should be passed by reference in restaurant_reservation_send_update_status_mail() (line 189 of /profiles/restaurant/modules/restaurant/restaurant_reservation/restaurant_reservation.module).

This message is shown after saving / updating the Reservation status on both reservation-admin-list and reservation-edit-form.

Comments

shadcn’s picture

Hi. Can you please file an issue on Github here: https://github.com/drupalrestaurant/restaurant/issues. We are moving support and bug tracking to Github.

marcrobinsone’s picture

Roger that. Thanks for the head's up. I'll file future tickets there.

HyperD’s picture

I changed in this way

280 -    //$params['body'] .= drupal_render(entity_view('reservation', array($reservation), 'email'));
281 +      $just_a_variable = entity_view('reservation', array($reservation), 'email');
282 +      $params['body'] .= drupal_render($just_a_variable);
shadcn’s picture

Status: Active » Closed (outdated)