Skip to content
This repository has been archived by the owner on May 14, 2019. It is now read-only.

Commit

Permalink
fix page bug issue.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.editam.com/branches/benny/plugin/editam@141 39231244-8735-0410-a0b6-e05161fff8f7
  • Loading branch information
benny committed Mar 12, 2009
1 parent c0529c3 commit 44d48b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -116,8 +116,6 @@ function missing_home_page()

function add()
{
$this->_save();
$this->_getReadyForPageForm();
}

function add_child()
Expand Down
2 changes: 2 additions & 0 deletions installer/editam_files/app/models/page.php
Expand Up @@ -78,6 +78,8 @@ function isHomepage()
function saveWithParts($parts = array(), $position = null)
{
$this->transactionStart();
$this->parts = array();
$this->part->load();
foreach ($parts as $part){
$this->part->create($part);
}
Expand Down

0 comments on commit 44d48b2

Please sign in to comment.