Commit 9d26240b authored by metzlerd's avatar metzlerd
Browse files

#2352665 Fix warning when only series is used.

parent 2f288470
......@@ -250,7 +250,7 @@ class FrxSVGGraph extends FrxRenderer {
if (!$path) $path = $this->extract('xpath', $options); //Deprecated
if (!$path) $path = '*';
$group = $this->extract('group', $options);
$series = @$attributes['series'];
$series = @(array)$attributes['series'];
$label = @$attributes['label'];
$key = @$attributes['key'];
if (!$key) $key = @$attributes['label']; //Backward compatibility for old graphs.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment