cvs: docweb /www notes_stats.php

[email protected] ("Mehdi Achour")
Newsgroups php.doc.web
Message-ID <cvsdidou1122900033@cvsserver>
didou		Mon Aug  1 08:40:33 2005 EDT

  Modified files:              
    /docweb/www	notes_stats.php 
  Log:
  fix notice that breaks headers
  
http://cvs.php.net/diff.php/docweb/www/notes_stats.php?r1=1.6&r2=1.7&ty=u
Index: docweb/www/notes_stats.php
diff -u docweb/www/notes_stats.php:1.6 docweb/www/notes_stats.php:1.7
--- docweb/www/notes_stats.php:1.6	Sun Jul 31 20:40:23 2005
+++ docweb/www/notes_stats.php	Mon Aug  1 08:40:32 2005
@@ -16,7 +16,7 @@
 | Authors: Sean Coates <[email protected]>                                  |
 | Credits: Vincent Gevers <[email protected]>                            |
 +----------------------------------------------------------------------+
-$Id: notes_stats.php,v 1.6 2005/08/01 00:40:23 sean Exp $
+$Id: notes_stats.php,v 1.7 2005/08/01 12:40:32 didou Exp $
 */
 
 
@@ -24,7 +24,7 @@
 
 @include('notes_stats-data.php');
 
-if (!is_array($notesData) || !$notesData) {
+if (!isset($notesData) || !is_array($notesData) || !$notesData) {
     echo DocWeb_Template::get(
         'shared/error_msg.tpl.php',
         array(
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.