Commit 86cdd89c authored by travis%sedsystems.ca's avatar travis%sedsystems.ca

Bug 283973 : Charts broken: DBD::mysql::st execute failed: Unknown column…

Bug 283973 : Charts broken: DBD::mysql::st execute failed: Unknown column '$datefrom' in 'field list' Patch by Teemu Mannermaa <wicked@etlicon.fi> r=mkanat a=justdave
parent 7962c876
......@@ -230,7 +230,7 @@ sub readData {
# Prepare the query which retrieves the data for each series
my $query = "SELECT " . $dbh->sql_to_days('series_date') . " - " .
$dbh->sql_to_days('FROM_UNIXTIME($datefrom)') .
$dbh->sql_to_days("FROM_UNIXTIME($datefrom)") .
", series_value FROM series_data " .
"WHERE series_id = ? " .
"AND series_date >= FROM_UNIXTIME($datefrom)";
......
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