summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmanage_proposal.inc2
-rwxr-xr-xtextbook_companion.module2
2 files changed, 2 insertions, 2 deletions
diff --git a/manage_proposal.inc b/manage_proposal.inc
index 3edd1a5..59260ee 100755
--- a/manage_proposal.inc
+++ b/manage_proposal.inc
@@ -97,7 +97,7 @@ function _category_all()
case 13: $category_data = 'Others'; break;
default: $category_data = 'Unknown'; break;
}
- $preference_rows[] = array($preference_data->book ."<br> <i>by" .$preference_data->author."</i>", $preference_data->isbn, $preference_data->publisher, $preference_data->edition, $preference_data->year, $category_data, l('Edit', 'manage_proposal/category/edit/' . $preference_data->id));
+ $preference_rows[] = array($preference_data->book ."<br> <i>by " .$preference_data->author."</i>", $preference_data->isbn, $preference_data->publisher, $preference_data->edition, $preference_data->year, $category_data, l('Edit', 'manage_proposal/category/edit/' . $preference_data->id));
}
$preference_header = array('Book', 'ISBN', 'Publisher', 'Edition', 'Year', 'Category', 'Status');
diff --git a/textbook_companion.module b/textbook_companion.module
index eb12ac8..d5e041d 100755
--- a/textbook_companion.module
+++ b/textbook_companion.module
@@ -687,7 +687,7 @@ function textbook_companion_aicte_proposal_all() {
if (!$user->uid) {
$query = "
SELECT * FROM textbook_companion_aicte
- WHERE status = 0 AND selected = 0
+ WHERE status = 0
";
$result = db_query($query);