From 05b71e53bdad344df30dc1496ec1b8196b77ee87 Mon Sep 17 00:00:00 2001 From: Michael Gage Date: Mon, 10 Dec 2012 19:16:38 -0500 Subject: [PATCH 1/2] =?UTF-8?q?=20turn=20off=20debug=C2=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit turn off debugĀ  --- lib/WeBWorK/Constants.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/WeBWorK/Constants.pm b/lib/WeBWorK/Constants.pm index d110d43a8f..322a930645 100644 --- a/lib/WeBWorK/Constants.pm +++ b/lib/WeBWorK/Constants.pm @@ -31,7 +31,7 @@ use warnings; # If true, WeBWorK::Debug will print debugging output. # -$WeBWorK::Debug::Enabled = 1; +$WeBWorK::Debug::Enabled = 0; # If non-empty, debugging output will be sent to the file named rather than STDERR. # From 079bea38074d465b42a6fe1e10f853fa8461dc52 Mon Sep 17 00:00:00 2001 From: Paul Pearson Date: Fri, 21 Dec 2012 18:27:51 -0500 Subject: [PATCH 2/2] Update lib/WeBWorK/Utils/ListingDB.pm Changed line 366 from $tables{DBsection} to $tables{dbsection} in order to fix the broken browse by textbook feature in the library browser (change suggested by Hal Sadofsky). --- lib/WeBWorK/Utils/ListingDB.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/WeBWorK/Utils/ListingDB.pm b/lib/WeBWorK/Utils/ListingDB.pm index a6fff10a71..68a3f740b8 100644 --- a/lib/WeBWorK/Utils/ListingDB.pm +++ b/lib/WeBWorK/Utils/ListingDB.pm @@ -363,7 +363,7 @@ sub getDBListings { $kw2"; if($haveTextInfo) { $query = "SELECT $selectwhat from `$tables{pgfile}` pgf, - `$tables{DBsection}` dbsc, `$tables{dbchapter}` dbc, `$tables{dbsubject}` dbsj, + `$tables{dbsection}` dbsc, `$tables{dbchapter}` dbc, `$tables{dbsubject}` dbsj, `$tables{pgfile_problem}` pgp, `$tables{problem}` prob, `$tables{textbook}` tbk , `$tables{chapter}` tc, `$tables{section}` ts $kw1 WHERE dbsj.DBsubject_id = dbc.DBsubject_id AND