aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/default/account/forms/register.php2
-rw-r--r--views/default/settings/system.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/views/default/account/forms/register.php b/views/default/account/forms/register.php
index 5b9a131e5..ff4ab6dc1 100644
--- a/views/default/account/forms/register.php
+++ b/views/default/account/forms/register.php
@@ -15,7 +15,7 @@
<h2><?php echo elgg_echo('register'); ?></h2>
<div id="register-box">
- <form action="<?php echo $vars['url']; ?>action_handler.php" method="POST">
+ <form action="<?php echo $vars['url']; ?>action/register" method="POST">
<p><label><?php echo elgg_echo('name'); ?><br /><input name="name" type="text" class="general-textarea" /></label><br />
<label><?php echo elgg_echo('email'); ?><br /><input name="email" type="text" class="general-textarea" /></label><br />
<label><?php echo elgg_echo('username'); ?><br /><input name="username" type="text" class="general-textarea" /></label><br />
diff --git a/views/default/settings/system.php b/views/default/settings/system.php
index 1d2d19c67..5f4e36f1e 100644
--- a/views/default/settings/system.php
+++ b/views/default/settings/system.php
@@ -33,7 +33,7 @@
<p>
<?php echo elgg_echo($field); ?><br />
<?php
- echo elgg_view("input/text",array('internalname' => $field, 'value' => $vars[$field]));
+ echo elgg_view("input/text",array('internalname' => $field, 'value' => $vars['config']->$field));
?>
</p>