Project

General

Profile

« Previous | Next » 

Revision 900

Added by Matthias almost 16 years ago

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]

View differences:

trunk/CHANGELOG
11 11
! = Update/Change
12 12

  
13 13
------------------------------------- 2.8.0 -------------------------------------
14
03-Jan-2009 Matthias Gallas
15
#	fixed bug in view.php of news module (ticket 676 Thanks to susigross)
16
#	fixed another bug in view.php of news modul introduced in changeset [892]
14 17
30-Dec-2008 Matthias Gallas
15 18
+	added default new language variables to all language files
16 19
-	modul_uninstall: Removed undefined and unused constants (DB_FETCHMODE_ASSOC)
trunk/wb/modules/news/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