aboutsummaryrefslogtreecommitdiff
path: root/engine/handlers/xml-rpc_handler.php
diff options
context:
space:
mode:
authormisja <misja@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-16 13:25:17 +0000
committermisja <misja@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-16 13:25:17 +0000
commit63df0805e22ed657c9e13b64ecab0199070d6622 (patch)
treea5304e52e9fefa7a3e8d515a3c04f8eb60a0bc0a /engine/handlers/xml-rpc_handler.php
parent6f1a3d18fc90bdf4ca5dff45214dc8874a1b79a2 (diff)
downloadelgg-63df0805e22ed657c9e13b64ecab0199070d6622.tar.gz
elgg-63df0805e22ed657c9e13b64ecab0199070d6622.tar.bz2
Set the view with set_input rather than via the session
git-svn-id: https://code.elgg.org/elgg/trunk@1438 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/handlers/xml-rpc_handler.php')
-rw-r--r--engine/handlers/xml-rpc_handler.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/handlers/xml-rpc_handler.php b/engine/handlers/xml-rpc_handler.php
index 14c1b84d1..ca49559da 100644
--- a/engine/handlers/xml-rpc_handler.php
+++ b/engine/handlers/xml-rpc_handler.php
@@ -23,7 +23,7 @@
// Set some defaults
$result = null;
- $_SESSION['view'] = 'xml'; // Set default view regardless
+ set_input('view', 'xml'); // Set default view regardless
// Get the post data
$input = get_post_data();