From: <sy...@us...> - 2007-11-21 16:23:39
|
Update of /cvsroot/tikiwiki/tiki/lib/commcenter In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv30093/lib/commcenter Modified Files: Tag: BRANCH-1-10 commlib.php Log Message: [FIX] also create the page when received a structure Index: commlib.php =================================================================== RCS file: /cvsroot/tikiwiki/tiki/lib/commcenter/commlib.php,v retrieving revision 1.18.2.1 retrieving revision 1.18.2.2 diff -u -d -r1.18.2.1 -r1.18.2.2 --- commlib.php 24 Oct 2007 13:51:07 -0000 1.18.2.1 +++ commlib.php 21 Nov 2007 16:23:42 -0000 1.18.2.2 @@ -39,6 +39,7 @@ } } } + $this->create_page($page['pageName'], 0, $page['data'], $this->now, $page['comment'], $page['receivedFromUser'], $page['receivedFromSite'], $page['description']); $pages['data'][$key]['page_ref_id'] = $structlib->s_create_page($parent_id, $after_ref_id, $page['pageName'], $page['page_alias']); } $query = "delete from `tiki_received_pages` where `structureName`=?"; |