is it a bug in Yiiopenflashchart extension?

extension url:

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:


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