MDL-31410 paypal: fix problem on notifications
MDL-31410 paypal: fix problem on notifications

This commit fixes a PHP warning about using a
unititialised variable and also the problems when
notifications are enabled and there is not yet a
teacher in the course, defaulting to admin for student
notifications and preventing teacher notifications to happen.

dilawar/moodle