davosmith/moodle-uploadpdf — pull request #3 by vaughany (2012-06-13 12:28:33+00:00)
Title: Very minor change to tcpdf_config.php

Moodle's cron started failing with the error 'Undefined variable: k_path_url' in the file in this commit. Have added this code to prevent this error and ensure cron runs.

Detail: Use reported course completion wasn't working, so checked cron's output and it showed a stack trace with the above error in the above file, and wasn't processing any more course completion (although the rest of cron was progressing normally). Added an 'else' statement to initialise the empty variable and the problem went away.