ENHANCEMENT Only call ob_end_flush() if there is an output buffer to flush, to avoid triggering E_NOTICE
Merge pull request #16 from DarrenInwood/e-notice-fix

ENHANCEMENT Only call ob_end_flush() if there is an output buffer to flush