Ticket #269 (new defect)
Opened 13 months ago
function generate_jump_menu called before the_plogger_gallery causes code break
| Reported by: | btestori | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.0 |
| Component: | Theme | Version: | 1.0-RC1 |
| Severity: | normal | Keywords: | jump menu before gallery |
| Cc: | btestori@… |
Description
Dear all; first I would like to thank you for this great work :) Your code is cool and easy to managa and edit.
Well, my question is the following: if I call the_plogger_gallery BEFORE generate_jump_menu in the same page (I wish I could succeed in doing this for a better web referencement), there is an error. It seems that it has to do with the globals or with the fact that there is "nothing back" after running the first mysql query of generate_jump_menu.
i have found that the code breaks when the first $result = run_query($sql) is called, at the first sql query, which lists all the albums in order to put them in a select list
If I apply $result = @mysql_query ($sql, $PLOGGER_DBH) the codes does not break, but the jump-menu is filled with no option.
Could you explain me what to do or teach me about the first part of the generate_jump_menu function, and how or why it interferates with the_plogger_gallery?
Thank you in advance,
Bat
