Update cdr.php

Fresh install (Debian 7), trying to generate CDR for my first 2-3 calls. The CSV contained the PHP Notice error, while the PDF was not generated at all because "output already sent" that was a PHP Notice.
Merge pull request #6 from pkirk/patch-1

Update cdr.php