Index: branches/5.2.x/core/units/email_templates/email_template_eh.php =================================================================== diff -u -N -r16599 -r16692 --- branches/5.2.x/core/units/email_templates/email_template_eh.php (.../email_template_eh.php) (revision 16599) +++ branches/5.2.x/core/units/email_templates/email_template_eh.php (.../email_template_eh.php) (revision 16692) @@ -1,6 +1,6 @@ Application->GetVar('u'); if ( $items_info ) { - list ($user_id, ) = each($items_info); + $user_id = key($items_info); $ids = $this->Application->RecallVar($event->getPrefixSpecial() . '_selected_ids'); $id_field = $this->Application->getUnitOption($event->Prefix, 'IDField');