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.