summaryrefslogtreecommitdiff
path: root/login_form.php
diff options
context:
space:
mode:
Diffstat (limited to 'login_form.php')
-rw-r--r--login_form.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/login_form.php b/login_form.php
index 59982c295..b906e175c 100644
--- a/login_form.php
+++ b/login_form.php
@@ -129,7 +129,7 @@ window.onload = init;
<tr><td colspan="2" align="right" class="innerLoginCell">
<input type="submit" class="button" value="<?php echo __('Log in') ?>" name='click'>
- <?php if (defined('_ENABLE_REGISTRATION')) { ?>
+ <?php if (defined('ENABLE_REGISTRATION') && ENABLE_REGISTRATION) { ?>
<input type="submit" class="button" onclick="return gotoRegForm()"
value="<?php echo __("Create new account") ?>"/>
<?php } ?>