MDL-56090 message: Make key in union unique
authorAndrew Nicols <andrew@nicols.co.uk>
Wed, 26 Oct 2016 07:43:54 +0000 (15:43 +0800)
committerAndrew Nicols <andrew@nicols.co.uk>
Wed, 26 Oct 2016 07:43:56 +0000 (15:43 +0800)
commitebc746dcc29d2e1d9dfdd79f4161975243b1d0a8
treea88499d23691a311bba925a228881f66ed01d54c
parentee61e3ef835c9f6486ee56abfe1e766e2e46a5aa
MDL-56090 message: Make key in union unique

This also fixes the unit test to use the correct indices.
message/classes/helper.php
message/tests/events_test.php