aboutsummaryrefslogtreecommitdiff
path: root/actions/edit.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-03-28 18:44:25 +0000
committerCash Costello <cash.costello@gmail.com>2009-03-28 18:44:25 +0000
commit51bdec218af83488cd15a05c8d731e67fdd22264 (patch)
tree6e5c376b9ecccbc857a42644f2e3224f2ae97674 /actions/edit.php
parent38335addc0fdcf3d798bfc783b0f159eb5c5c2d6 (diff)
downloadelgg-51bdec218af83488cd15a05c8d731e67fdd22264.tar.gz
elgg-51bdec218af83488cd15a05c8d731e67fdd22264.tar.bz2
fixed sticky form for album creation
Diffstat (limited to 'actions/edit.php')
-rw-r--r--actions/edit.php10
1 files changed, 4 insertions, 6 deletions
diff --git a/actions/edit.php b/actions/edit.php
index a5d84bc18..5eab8caff 100644
--- a/actions/edit.php
+++ b/actions/edit.php
@@ -10,14 +10,13 @@
// Get input data
$guid = (int) get_input('guid'); // guid of image or album
- $title = get_input('title');
- $body = get_input('descript');
+ $title = get_input('tidypicstitle');
+ $body = get_input('tidypicsbody');
$access = get_input('access_id');
- $tags = get_input('tags');
+ $tags = get_input('tidypicstags');
$subtype = get_input('subtype');
$container_guid = get_input('container_guid');
- error_log('container_guid is ' . $container_guid);
// Make sure we actually have permission to edit
$entity = get_entity($guid);
@@ -26,7 +25,6 @@
}
// Get owning user/group
- error_log("owning user is " . $entity->getOwner());
$owner = get_entity($entity->getOwner());
// change access only if access is different from current
@@ -73,4 +71,4 @@
system_message(elgg_echo('images:edited'));
forward($entity->getURL());
-?> \ No newline at end of file
+?>