phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] sitemgr/inc class.Pages_SO.inc.php,1.12.2.10


From: skwashd
Subject: [Phpgroupware-cvs] sitemgr/inc class.Pages_SO.inc.php,1.12.2.10
Date: Tue, 6 Dec 2005 13:06:00 +0100

Update of sitemgr/inc

Modified Files:
     Branch: Version-0_9_16-branch
            class.Pages_SO.inc.php lines: +6 -1

Log Message:
fix bug #7390

====================================================
Index: sitemgr/inc/class.Pages_SO.inc.php
diff -u sitemgr/inc/class.Pages_SO.inc.php:1.12.2.9 
sitemgr/inc/class.Pages_SO.inc.php:1.12.2.10
--- sitemgr/inc/class.Pages_SO.inc.php:1.12.2.9 Tue Mar 30 09:11:04 2004
+++ sitemgr/inc/class.Pages_SO.inc.php  Tue Dec  6 12:06:27 2005
@@ -202,7 +202,12 @@
                                        . 'sort_order=' . 
intval($pageInfo->sort_order) . ', '
                                        . 'hide_page=' . 
intval($pageInfo->hidden) . ', '
                                        . 'state=' . intval($pageInfo->state) . 
' '
-                                       . 'WHERE page_id=' . 
intval($pageInfo->id) . '', __LINE__, __FILE__);
+                                       . 'WHERE page_id=' . 
intval($pageInfo->id), __LINE__, __FILE__);
+
+                       //This doesn't really belong here but it is the easiest 
way to fix the cat for the page when it is moved
+                       $this->db->query('UPDATE phpgw_sitemgr_blocks'
+                                       . ' SET cat_id = ' . 
intval($pageInfo->cat_id)
+                                       . ' WHERE page_id=' . 
intval($pageInfo->id), __LINE__. __FILE__);
                        return true;
                }







reply via email to

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