]> source.dussan.org Git - nextcloud-server.git/commitdiff
Update authenticate.php
authorrunky <philipp.boersteken@googlemail.com>
Fri, 5 Jul 2013 08:37:24 +0000 (10:37 +0200)
committerrunky <philipp.boersteken@googlemail.com>
Fri, 5 Jul 2013 08:37:24 +0000 (10:37 +0200)
Fix 'Undefined index: wrongpw' error

apps/files_sharing/templates/authenticate.php

index fa03f41913060540c4da710336436b4f2adefa9b..2c89b5df3f6a5a90a4d99bb618d534225cf3fb2d 100644 (file)
@@ -1,6 +1,6 @@
 <form action="<?php p($_['URL']); ?>" method="post">
        <fieldset>
-               <?php if ($_['wrongpw']): ?>
+               <?php if (isset($_['wrongpw'])): ?>
                <div class="warning"><?php p($l->t('The password is wrong. Try again.')); ?></div>
                <?php endif; ?>
                <p class="infield">