summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcloud_comments.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloud_comments.module b/cloud_comments.module
index 26c444a..cb02710 100755
--- a/cloud_comments.module
+++ b/cloud_comments.module
@@ -66,6 +66,7 @@ function cloud_comments_all($example_id=0) {
$q = "SELECT book from {textbook_companion_preference} where id = '%d'";
$qr = db_query($q, $row->books);
$obj = db_fetch_object($qr);
+ $page_content .= t("<div class='type'> <b>Category: </b>") . $categories[$row->category] . t("</div>");
$page_content .= t("<div class='type'> <b>Book:</b> ") . $obj->book . t("</div>");
$q = "SELECT name from {textbook_companion_chapter} where id = '%d'";
@@ -74,7 +75,6 @@ function cloud_comments_all($example_id=0) {
$chapter = $obj->name?$obj->name:"None";
$page_content .= t("<div class='type'> <b>Chapter: </b> ") . $chapter . ($row->chapter_no?" (<b>{$row->chapter_no}</b>)":"") . t("</div>");
- $page_content .= t("<div class='type'> <b>Category: </b>") . $categories[$row->category] . t("</div>");
$q = "SELECT caption from {textbook_companion_example} where id = '%d'";
$qr = db_query($q, $row->example);