phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: sitemgr/inc class.Categories_SO.inc.php,1.9,1.10


From: Patrick Walsh <address@hidden>
Subject: [Phpgroupware-cvs] CVS: sitemgr/inc class.Categories_SO.inc.php,1.9,1.10
Date: Sun, 15 Sep 2002 18:02:25 -0400

Update of /cvsroot/phpgroupware/sitemgr/inc
In directory subversions:/tmp/cvs-serv23584/inc

Modified Files:
        class.Categories_SO.inc.php 
Log Message:
Hacked around the Categories bug (in phpgwapi categories class) that adds 
slashes without stipping them back out.


Index: class.Categories_SO.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/sitemgr/inc/class.Categories_SO.inc.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** class.Categories_SO.inc.php 14 Sep 2002 07:24:49 -0000      1.9
--- class.Categories_SO.inc.php 15 Sep 2002 22:02:23 -0000      1.10
***************
*** 105,111 ****
                                $cat_info                               = 
CreateObject('sitemgr.Category_SO', True);
                                $cat_info->id                   = $cat[0]['id'];
!                               $cat_info->name                 = 
$cat[0]['name'];
                                $cat_info->sort_order   = $cat[0]['data'];
!                               $cat_info->description  = 
$cat[0]['description'];
                                $cat_info->parent               = 
$cat[0]['parent'];
                                $cat_info->depth                = 
$cat[0]['level'];
--- 105,111 ----
                                $cat_info                               = 
CreateObject('sitemgr.Category_SO', True);
                                $cat_info->id                   = $cat[0]['id'];
!                               $cat_info->name                 = 
stripslashes($cat[0]['name']);
                                $cat_info->sort_order   = $cat[0]['data'];
!                               $cat_info->description  = 
stripslashes($cat[0]['description']);
                                $cat_info->parent               = 
$cat[0]['parent'];
                                $cat_info->depth                = 
$cat[0]['level'];





reply via email to

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