phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] forum/inc class.boforum.inc.php


From: Dave Hall
Subject: [Phpgroupware-cvs] forum/inc class.boforum.inc.php
Date: Thu, 28 Dec 2006 04:56:10 +0000

CVSROOT:        /sources/phpgroupware
Module name:    forum
Changes by:     Dave Hall <skwashd>     06/12/28 04:56:10

Modified files:
        inc            : class.boforum.inc.php 

Log message:
        notices

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/forum/inc/class.boforum.inc.php?cvsroot=phpgroupware&r1=1.10&r2=1.11

Patches:
Index: class.boforum.inc.php
===================================================================
RCS file: /sources/phpgroupware/forum/inc/class.boforum.inc.php,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- class.boforum.inc.php       27 May 2002 01:49:04 -0000      1.10
+++ class.boforum.inc.php       28 Dec 2006 04:56:10 -0000      1.11
@@ -11,7 +11,7 @@
        *  option) any later version.                                           
      *
        
\*****************************************************************************/
 
-       /* $Id: class.boforum.inc.php,v 1.10 2002/05/27 01:49:04 milosch Exp $ 
*/
+       /* $Id: class.boforum.inc.php,v 1.11 2006/12/28 04:56:10 skwashd Exp $ 
*/
 
        class boforum
        {
@@ -78,10 +78,10 @@
                        $data = 
$GLOBALS['phpgw']->session->appsession('session_data','forum');
                        if($this->debug) { echo '<br>Read:'; 
_debug_array($data); }
 
-                       $this->view     = $data['view'];
-                       $this->location = $data['location'];
-                       $this->cat_id   = $data['cat_id'];
-                       $this->forum_id = $data['forum_id'];
+                       $this->view     = isset($data['view']) ? $data['view'] 
: '';
+                       $this->location = isset($data['location']) ? 
$data['location'] : '';
+                       $this->cat_id   = isset($data['cat_id']) ? 
$data['cat_id'] : 0;
+                       $this->forum_id = isset($data['forum_id']) ? 
$data['forum_id'] : 0;
                }
 
                function post()




reply via email to

[Prev in Thread] Current Thread [Next in Thread]