Added on_debug #5

Fixed undefined value error when using bugzilla's xmlrpc.cgi (bugzilla's
API).
Merge pull request #12 from dbeusee/master

Added on_debug #5