phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: calendar/inc class.socalendar_sql.inc.php,1.28.2


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: calendar/inc class.socalendar_sql.inc.php,1.28.2.2,1.28.2.3
Date: Wed, 30 Oct 2002 20:02:53 -0500

Update of /cvsroot/phpgroupware/calendar/inc
In directory subversions:/tmp/cvs-serv4355

Modified Files:
      Tag: Version-0_9_14-branch
        class.socalendar_sql.inc.php 
Log Message:
added stripslashes in fetchevent for title, descr. and location

Index: class.socalendar_sql.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/calendar/inc/class.socalendar_sql.inc.php,v
retrieving revision 1.28.2.2
retrieving revision 1.28.2.3
diff -C2 -r1.28.2.2 -r1.28.2.3
*** class.socalendar_sql.inc.php        25 Aug 2002 04:07:48 -0000      1.28.2.2
--- class.socalendar_sql.inc.php        31 Oct 2002 01:02:50 -0000      1.28.2.3
***************
*** 119,126 ****
                        $this->set_class(intval($this->stream->f('is_public')));
                        $this->set_category($this->stream->f('category'));
!                       
$this->set_title($GLOBALS['phpgw']->strip_html($this->stream->f('title')));
!                       
$this->set_description($GLOBALS['phpgw']->strip_html($this->stream->f('description')));
                        
$this->add_attribute('uid',$GLOBALS['phpgw']->strip_html($this->stream->f('uid')));
!                       
$this->add_attribute('location',$GLOBALS['phpgw']->strip_html($this->stream->f('location')));
                        
$this->add_attribute('reference',intval($this->stream->f('reference')));
                        
--- 119,126 ----
                        $this->set_class(intval($this->stream->f('is_public')));
                        $this->set_category($this->stream->f('category'));
!                       
$this->set_title(stripslashes($GLOBALS['phpgw']->strip_html($this->stream->f('title'))));
!                       
$this->set_description(stripslashes($GLOBALS['phpgw']->strip_html($this->stream->f('description'))));
                        
$this->add_attribute('uid',$GLOBALS['phpgw']->strip_html($this->stream->f('uid')));
!                       
$this->add_attribute('location',stripslashes($GLOBALS['phpgw']->strip_html($this->stream->f('location'))));
                        
$this->add_attribute('reference',intval($this->stream->f('reference')));
                        





reply via email to

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