aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-05 13:02:31 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-05 13:02:31 +0000
commit4fa76868e99fb422046a88d6dcc4db219fc776d0 (patch)
tree859ffa98888674f8cdb5a3e8b68ff7dc1674f28f /views/default
parent324d91f6e3d1862fd96fe14a55aa4cd270ba8654 (diff)
downloadelgg-4fa76868e99fb422046a88d6dcc4db219fc776d0.tar.gz
elgg-4fa76868e99fb422046a88d6dcc4db219fc776d0.tar.bz2
Removed an annoying notify error
git-svn-id: https://code.elgg.org/elgg/trunk@1703 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default')
-rw-r--r--views/default/account/forms/login.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/account/forms/login.php b/views/default/account/forms/login.php
index 1723cf81a..ea37ff692 100644
--- a/views/default/account/forms/login.php
+++ b/views/default/account/forms/login.php
@@ -20,6 +20,6 @@
<br />
<label><?php echo elgg_echo('password'); ?><br /><input name="password" type="password" class="general-textarea" /></label><br />
<input type="submit" name="submit" class="submit_button" value="<?php echo elgg_echo('login'); ?>" /></p>
- <p><?php if (!$CONFIG->disable_registration) { ?><a href="<?php echo $vars['url']; ?>account/register.php"><?php echo elgg_echo('register'); ?></a> : <?php } ?> <a href="<?php echo $vars['url']; ?>account/forgotten_password.php"><?php echo elgg_echo('user:password:lost'); ?></a></p>
+ <p><?php if (!isset($CONFIG->disable_registration) || !($CONFIG->disable_registration)) { ?><a href="<?php echo $vars['url']; ?>account/register.php"><?php echo elgg_echo('register'); ?></a> : <?php } ?> <a href="<?php echo $vars['url']; ?>account/forgotten_password.php"><?php echo elgg_echo('user:password:lost'); ?></a></p>
</form>
</div> \ No newline at end of file