Corrected parameter in generatePanelTitle

Corrected $content parameter in generatePanelTitle