Download & Extend

Undefined variable: element in _sparkline_generate_path

Project:Sparkline generator and filter
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:vkareh
Status:needs review

Issue Summary

I'm getting this PHP Notice in sparkline.module, line 291: Undefined variable: element in _sparkline_generate_path().

The code is using the wrong variable $element, when it should be using $sparkline. Attached is a patch.

AttachmentSize
sparkline-undefined_var.patch672 bytes