summaryrefslogtreecommitdiff
path: root/textbook_run.module
diff options
context:
space:
mode:
Diffstat (limited to 'textbook_run.module')
-rwxr-xr-xtextbook_run.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/textbook_run.module b/textbook_run.module
index e6c5626..587becb 100755
--- a/textbook_run.module
+++ b/textbook_run.module
@@ -109,7 +109,7 @@ if ($url_book_id)
$book_titles_q = db_query("SELECT * FROM {textbook_companion_chapter} WHERE preference_id = %d ORDER BY number ASC", $id);
while ($book_titles_data = db_fetch_object($book_titles_q))
{
- $data .= "<option value='".$book_titles_data->number."'>".$book_titles_data->number . ' (' . $book_titles_data->name . ')'."</option>";
+ $data .= "<option value='".$book_titles_data->id."'>".$book_titles_data->number . ' (' . $book_titles_data->name . ')'."</option>";
}
$data .= "</select>";