diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-02-10 20:41:38 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-02-10 20:41:38 +0000 |
commit | d407773cb2ab492d4d4f4814d3566737a5ccfb4a (patch) | |
tree | e7d4cb166ef1eb5fcc0101da3385c3d2702ba598 /templates/show_login_form.inc | |
parent | bdd6c2acd42b11f489ee6fd572d22d2e49843a79 (diff) | |
download | ampache-d407773cb2ab492d4d4f4814d3566737a5ccfb4a.tar.gz ampache-d407773cb2ab492d4d4f4814d3566737a5ccfb4a.tar.bz2 ampache-d407773cb2ab492d4d4f4814d3566737a5ccfb4a.zip |
fixed democratic play vote order and user preferences update
Diffstat (limited to 'templates/show_login_form.inc')
-rw-r--r-- | templates/show_login_form.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/show_login_form.inc b/templates/show_login_form.inc index 453a665a..7ff9bbe3 100644 --- a/templates/show_login_form.inc +++ b/templates/show_login_form.inc @@ -40,7 +40,7 @@ if (conf('local_length') >= conf('remember_length')) { <?php echo conf('login_message'); ; ?> <?php $GLOBALS['error']->print_error('general'); ?> <p><input class="button" type="submit" value="<?php echo _('Login'); ?>" /></p> - <input type="hidden" name="referrer" value="<?php echo $referrer; ?>" /> + <input type="hidden" name="referrer" value="<?php echo scrub_out($_SERVER['HTTP_REFERRER']); ?>" /> <input type="hidden" name="action" value="login" /> </form> <?php if (conf('allow_public_registration')) { ?> |