Fix group description processing
authorx2003bruneau <x2003bruneau@9869982d-c50d-0410-be91-f2a2ec7c7c7b>
Mon, 25 Dec 2006 20:22:43 +0000 (20:22 +0000)
committerx2003bruneau <x2003bruneau@9869982d-c50d-0410-be91-f2a2ec7c7c7b>
Mon, 25 Dec 2006 20:22:43 +0000 (20:22 +0000)
git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@146 9869982d-c50d-0410-be91-f2a2ec7c7c7b

banana/groups.inc.php

index d3293d3..e7cd952 100644 (file)
@@ -29,8 +29,6 @@ class BananaGroups {
         global $banana;
 
         $this->type = $_type;
-        $desc       = $banana->nntp->xgtitle();
-
         $this->load();
         
         if (empty($this->overview) && $_type == BANANA_GROUP_SUB) {
@@ -45,6 +43,7 @@ class BananaGroups {
     {
         global $banana;
 
+        $desc = $banana->nntp->xgtitle();
         if ($this->type == BANANA_GROUP_NEW) {
             $list = $banana->nntp->newgroups($banana->profile['lastnews']);
         } else {