phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: sitemgr/inc class.Pages_SO.inc.php, 1.12.2.5, 1


From: Dave Hall <address@hidden>
Subject: [Phpgroupware-cvs] CVS: sitemgr/inc class.Pages_SO.inc.php, 1.12.2.5, 1.12.2.6
Date: Tue, 26 Aug 2003 02:22:07 -0400

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

Modified Files:
      Tag: Version-0_9_16-branch
        class.Pages_SO.inc.php 
Log Message:
stupid up arrow ... didn't mean to commit the old version :)

Index: class.Pages_SO.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/sitemgr/inc/class.Pages_SO.inc.php,v
retrieving revision 1.12.2.5
retrieving revision 1.12.2.6
diff -C2 -r1.12.2.5 -r1.12.2.6
*** class.Pages_SO.inc.php      26 Aug 2003 06:10:45 -0000      1.12.2.5
--- class.Pages_SO.inc.php      26 Aug 2003 06:22:04 -0000      1.12.2.6
***************
*** 105,111 ****
                                }
                        }
                        $sql  = 'SELECT page_id FROM phpgw_sitemgr_pages ';
!                       $sql .= "WHERE name='" . $page_name . " '";
!                       $sql .= 'AND cat_id IN('. implode(',' $site_cats) .')';
                        $this->db->query($sql,__LINE__,__FILE__);
                        if ($this->db->next_record())
--- 105,112 ----
                                }
                        }
+                       
                        $sql  = 'SELECT page_id FROM phpgw_sitemgr_pages ';
!                       $sql .= "WHERE name='" . 
$this->db->db_addslahes($page_name) . "' ";
!                       $sql .= 'AND cat_id IN(' . implode(',', $site_cats) . 
')';
                        $this->db->query($sql,__LINE__,__FILE__);
                        if ($this->db->next_record())





reply via email to

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