summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJayaram Pai2014-04-29 04:58:16 +0530
committerprashantsinalkar2019-09-01 22:12:24 +0530
commitcc8d9b610e9bba5bc1c3c837434e7505dcbb4712 (patch)
treeed94120d005ebd78ad746de17e82e607c1edf13c
parent82d8e9a665e5f1f64a03b4d8e33688d275a74daa (diff)
downloadr_tbc_fixer-cc8d9b610e9bba5bc1c3c837434e7505dcbb4712.tar.gz
r_tbc_fixer-cc8d9b610e9bba5bc1c3c837434e7505dcbb4712.tar.bz2
r_tbc_fixer-cc8d9b610e9bba5bc1c3c837434e7505dcbb4712.zip
added author display to select:book
-rwxr-xr-xscilab_fixer.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/scilab_fixer.module b/scilab_fixer.module
index 4cfd892..ce214cf 100755
--- a/scilab_fixer.module
+++ b/scilab_fixer.module
@@ -110,7 +110,7 @@
$data .= "<option value='0'>Please select the book.</option>";
while($row = db_fetch_object($result)) {
- $data .= "<option value='{$row->id}'>{$row->book}</option>";
+ $data .= "<option value='{$row->id}'>{$row->book} ({$row->author})</option>";
}
} else if($item == "book" && $key) {
$query = "SELECT * FROM {textbook_companion_chapter} WHERE preference_id = %d ORDER BY number";