From cfaa89dd2d32bc3c17d55def95a1fd49187e1667 Mon Sep 17 00:00:00 2001 From: cash Date: Sun, 6 Feb 2011 19:36:28 +0000 Subject: Fixes #2854 removing my bad idea of auto-appending action in elgg_view_form() git-svn-id: http://code.elgg.org/elgg/trunk@8046 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/file/edit.php | 2 +- mod/messages/read.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'mod') diff --git a/mod/file/edit.php b/mod/file/edit.php index aa4b60a83..12e910a26 100644 --- a/mod/file/edit.php +++ b/mod/file/edit.php @@ -28,7 +28,7 @@ elgg_set_page_owner_guid($file->getContainerGUID()); $form_vars = array('enctype' => 'multipart/form-data'); $body_vars = file_prepare_form_vars($file); -var_dump($body_vars); + $content = elgg_view_form('file/upload', $form_vars, $body_vars); $body = elgg_view_layout('content', array( diff --git a/mod/messages/read.php b/mod/messages/read.php index 5a735f18e..84ec7e124 100644 --- a/mod/messages/read.php +++ b/mod/messages/read.php @@ -32,7 +32,7 @@ if ($inbox) { $form_params = array( 'internalid' => 'messages-reply-form', 'class' => 'hidden', - 'action' => 'messages/send', + 'action' => 'action/messages/send', ); $body_params = array('message' => $message); $content .= elgg_view_form('messages/reply', $form_params, $body_params); -- cgit v1.2.3