From 86cdd89c871a0a5fd86892feb0af31d5ab5a088f Mon Sep 17 00:00:00 2001 From: "travis%sedsystems.ca" <> Date: Tue, 1 Mar 2005 03:02:31 +0000 Subject: Bug 283973 : Charts broken: DBD::mysql::st execute failed: Unknown column '$datefrom' in 'field list' Patch by Teemu Mannermaa r=mkanat a=justdave --- Bugzilla/Chart.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bugzilla/Chart.pm') diff --git a/Bugzilla/Chart.pm b/Bugzilla/Chart.pm index 0836adde3..6dabea5a3 100644 --- a/Bugzilla/Chart.pm +++ b/Bugzilla/Chart.pm @@ -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)"; -- cgit v1.2.3-24-g4f1b