valid code is better
authorx2000habouzit <x2000habouzit>
Fri, 15 Oct 2004 22:31:13 +0000 (22:31 +0000)
committerx2000habouzit <x2000habouzit>
Fri, 15 Oct 2004 22:31:13 +0000 (22:31 +0000)
include/newsletter.inc.php

index 654fa25..00e8ee9 100644 (file)
@@ -18,7 +18,7 @@
  *  Foundation, Inc.,                                                      *
  *  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                *
  ***************************************************************************
-        $Id: newsletter.inc.php,v 1.4 2004-10-15 15:39:40 x2000habouzit Exp $
+        $Id: newsletter.inc.php,v 1.5 2004-10-15 22:31:13 x2000habouzit Exp $
  ***************************************************************************/
 
 
@@ -26,7 +26,7 @@ define('FEMME', 1);
 define('HOMME', 0);
 
 class NewsLetter {
-    $_cats;
+    var $_cats;
     
     function NewsLetter() {
        global $globals;
@@ -36,7 +36,7 @@ class NewsLetter {
        while(list($cid,$title) = mysql_fetch_row($res)) {
            $this->_cats[$cid] = $title;
        }
-       mysql_free_result($res)
+       mysql_free_result($res);
     
     }
 }