Fixing warning with php 5.4 and situation when a datarepeater with a template is the first thing output on a page.
Merge pull request #348 from spekary/bugfix-empty-buffer-error

Fixing warning with php 5.4 and datarepeater with template