Revision 900
Added by Matthias almost 17 years ago
| view.php | ||
|---|---|---|
| 59 | 59 |
} |
| 60 | 60 |
|
| 61 | 61 |
// Get groups (title, if they are active, and their image [if one has been uploaded]) |
| 62 |
if (isset($groups)) {
|
|
| 63 |
unset($groups); |
|
| 64 |
} |
|
| 62 | 65 |
$groups[0]['title'] = ''; |
| 63 | 66 |
$groups[0]['active'] = true; |
| 64 | 67 |
$groups[0]['image'] = ''; |
| ... | ... | |
| 349 | 352 |
} |
| 350 | 353 |
|
| 351 | 354 |
// Print comments footer |
| 352 |
echo str_replace('[ADD_COMMENT_URL]', WB_URL.'/modules/news/comment.php&id='.POST_ID.'&sid='.$section_id, $setting_comments_footer);
|
|
| 355 |
echo str_replace('[ADD_COMMENT_URL]', WB_URL.'/modules/news/comment.php?id='.POST_ID.'&sid='.$section_id, $setting_comments_footer);
|
|
| 353 | 356 |
} |
| 354 | 357 |
if(ENABLED_ASP) {
|
| 355 | 358 |
$_SESSION['comes_from_view'] = POST_ID; |
| ... | ... | |
| 357 | 360 |
} |
| 358 | 361 |
} |
| 359 | 362 |
|
| 360 |
?> |
|
| 363 |
?> |
|
Also available in: Unified diff
fixed bug in view.php of news module ( #676 Thanks to susigross)
fixed another bug in view.php of news modul introduced in changeset [892]