aboutsummaryrefslogtreecommitdiff
path: root/mod/pages/actions/pages
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2012-07-13 07:42:36 +0200
committerSem <sembrestels@riseup.net>2012-07-13 07:42:36 +0200
commit1d2ce9657a44398646ed1a3980d89a1d2f50fa05 (patch)
treecbf88cc42c02b8303056eaf39fc898ccb071d245 /mod/pages/actions/pages
parent7fd67bc8ac6882f1a73aa7f8f907cd6c2a694272 (diff)
downloadelgg-1d2ce9657a44398646ed1a3980d89a1d2f50fa05.tar.gz
elgg-1d2ce9657a44398646ed1a3980d89a1d2f50fa05.tar.bz2
Fixes #1334. Added dropdown to change the parent of a page.
Diffstat (limited to 'mod/pages/actions/pages')
-rw-r--r--mod/pages/actions/pages/edit.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/mod/pages/actions/pages/edit.php b/mod/pages/actions/pages/edit.php
index a32e4a4ba..e6387c1a4 100644
--- a/mod/pages/actions/pages/edit.php
+++ b/mod/pages/actions/pages/edit.php
@@ -59,6 +59,9 @@ if (sizeof($input) > 0) {
if (($name == 'access_id' || $name == 'write_access_id') && !$can_change_access) {
continue;
}
+ if ($name == 'parent_guid') {
+ continue;
+ }
$page->$name = $value;
}