diff options
author | prashant | 2015-04-13 15:21:40 +0530 |
---|---|---|
committer | prashant | 2015-04-13 15:21:40 +0530 |
commit | 827d99dc633a7b7a4f5d6aef12205a5800be9a62 (patch) | |
tree | 95d39fa610a3b8203e7caac4c7c18b1ff17a29a2 | |
parent | e6d06398726c6a5aed8ce7dc0ff857cf3c984569 (diff) | |
download | dwsim_textbook_run-827d99dc633a7b7a4f5d6aef12205a5800be9a62.tar.gz dwsim_textbook_run-827d99dc633a7b7a4f5d6aef12205a5800be9a62.tar.bz2 dwsim_textbook_run-827d99dc633a7b7a4f5d6aef12205a5800be9a62.zip |
changed number to id in select chapter
-rwxr-xr-x | textbook_run.module | 2 |
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>"; |