 MDL-15741: workaround for annoying null byte php bug (base 64 decode eventdata before storing it in the database, and unencode it before processing)
 MDL-15741: workaround for annoying null byte php bug (base 64 decode eventdata before storing it in the database, and unencode it before processing)

dilawar/moodle