fix notification.post() bug

fix notification.post() without argument will throw wrong error
Merge pull request #309 from zivchang/next

fix notification.post() bug