diff options
author | travis%sedsystems.ca <> | 2005-03-01 04:02:31 +0100 |
---|---|---|
committer | travis%sedsystems.ca <> | 2005-03-01 04:02:31 +0100 |
commit | 86cdd89c871a0a5fd86892feb0af31d5ab5a088f (patch) | |
tree | 7129fd6342038b98d21a094221fda681a9cd5fd4 | |
parent | 7962c876e52a2812cd6ab00be1c9cdabc05000ec (diff) | |
download | bugzilla-86cdd89c871a0a5fd86892feb0af31d5ab5a088f.tar.gz bugzilla-86cdd89c871a0a5fd86892feb0af31d5ab5a088f.tar.xz |
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
-rw-r--r-- | Bugzilla/Chart.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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)"; |