symphonycms/symphony-2 — Issue #895: Minor bug when running event with expect-multiple.
Author: alpacaaa
Created: 2011-11-12 13:13:52+00:00
State: open

Line [#416](https://github.com/symphonycms/symphony-2/blob/f5c972f23b15acc5a14c5677603bf7108f34d44b/symphony/lib/toolkit/events/event.section.php#L416) of `symphony/lib/toolkit/events/event.section.php`.

The second check `isset($post['fields'][0])` prevents event from running if there's no data at index 0, which is just a wrong guess to me. It's perfectly fine to use arbitrary indexes (maybe entry ids) and if there isn't any data the event will fail anyway, so I suggest removing that check.