is it a bug in Yiiopenflashchart extension?

extension url: http://www.yiiframework.com/extension/yiiopenflashchart/

when i used this extension. i found the below code in EOFC2.php had a bug:




public function renderData($type = 'bar', $options = array(), $datasetName = 'default', $chartId = null)

	{

		$options = preg_replace('/\s+/', ' ', $options);

		echo $this->chart($type, $options, $datasetName, $chartId);

	}



the preg_replace function will change arrays in $options into a string "Array". so i noted it and my code work.

the code which get error before i note the line of code:




$flashChart->renderData('line_dot',array('colour'=>'#0000dd','key'=>array('IP','12')),'ip');



and i don’t know if my change destory this extension’s other effect.