I posted the following problem in "General Problems" forum. However, this might be a better location.
"One thing I have noticed with Moodle 1.4.2 (stable release) is that the enrolment key does not work when paypal enrolment is enabled. I experienced this when I tried to use paypalenrolment for one course and an enrolment key for another course. The paypal course worked fine, but the course without a price and just an enrolment key would keep returning back to the enrolment key page instead of enroling you into the course.
Is anyone else experiencing this problem? Any comments would be appreciated.
This could be a bug. However, I would like to get some comments first before I add this to bug tracker."