Index: trunk/CHANGELOG
===================================================================
--- trunk/CHANGELOG	(revision 899)
+++ trunk/CHANGELOG	(revision 900)
@@ -11,6 +11,9 @@
 ! = Update/Change
 
 ------------------------------------- 2.8.0 -------------------------------------
+03-Jan-2009 Matthias Gallas
+#	fixed bug in view.php of news module (ticket 676 Thanks to susigross)
+#	fixed another bug in view.php of news modul introduced in changeset [892]
 30-Dec-2008 Matthias Gallas
 +	added default new language variables to all language files
 -	modul_uninstall: Removed undefined and unused constants (DB_FETCHMODE_ASSOC)
Index: trunk/wb/modules/news/view.php
===================================================================
--- trunk/wb/modules/news/view.php	(revision 899)
+++ trunk/wb/modules/news/view.php	(revision 900)
@@ -59,6 +59,9 @@
 }
 
 // Get groups (title, if they are active, and their image [if one has been uploaded])
+if (isset($groups)) {
+   unset($groups);
+}
 $groups[0]['title'] = '';
 $groups[0]['active'] = true;
 $groups[0]['image'] = '';
@@ -349,7 +352,7 @@
 		}
 		
 		// Print comments footer
-		echo str_replace('[ADD_COMMENT_URL]', WB_URL.'/modules/news/comment.php&amp;id='.POST_ID.'&amp;sid='.$section_id, $setting_comments_footer);
+		echo str_replace('[ADD_COMMENT_URL]', WB_URL.'/modules/news/comment.php?id='.POST_ID.'&amp;sid='.$section_id, $setting_comments_footer);
 	}
 	if(ENABLED_ASP) {
 		$_SESSION['comes_from_view'] = POST_ID;
@@ -357,4 +360,4 @@
 	}
 }
 
-?>
+?>
\ No newline at end of file
