Diff for Metafox/subst.inc.php between version 1.13 and 1.14
| version 1.13, 2006/04/09 19:39:05 |
version 1.14, 2006/07/08 19:26:37 |
| Line 308 if ($ezin_tmpl_main->isVar('article_item |
|
| Line 308 if ($ezin_tmpl_main->isVar('article_item |
|
| */ |
*/ |
| |
|
| if ($ezin_tmpl_main->isVar('poll_question')) { /* {{{ */ |
if ($ezin_tmpl_main->isVar('poll_question')) { /* {{{ */ |
| $ezin_db_poll = ezin_get_poll($ezin_db_section['section_id'], $ezin_cgi['lang']); |
// note that for various reasons $ezin_db_section can be empty (zero-length string) |
| |
// for example when author page is called; so errors are supressed with '@' prefix |
| |
$ezin_db_poll = ezin_get_poll(@intval($ezin_db_section['section_id']), $ezin_cgi['lang']); |
| if ($ezin_db_poll != '') { |
if ($ezin_db_poll != '') { |
| $ezin_tmpl_main->set($ezin_db_poll); |
$ezin_tmpl_main->set($ezin_db_poll); |
| } |
} |
Platon Group <platon@platon.org> http://platon.org/
|
|