login/edit: set correct id for input fields
authorMischa POSLAWSKY <perl@shiar.org>
Sat, 16 Jun 2018 13:38:12 +0000 (15:38 +0200)
committerMischa POSLAWSKY <perl@shiar.org>
Sat, 16 Jun 2018 19:58:29 +0000 (21:58 +0200)
login/edit.php

index be27f9c98dde3d885969053364b0a02c48ba70f1..fe70ef95144dc5e348584c4ed0f09d3eaae388d6 100644 (file)
@@ -121,7 +121,7 @@ foreach ($cols as $col => &$colconf) {
        }
        print "<input";
        if (empty($colconf['target'])) print ' readonly';
-       printf(' type="%s" name="%s" id="%1$s" value="%s"',
+       printf(' type="%s" name="%s" id="%2$s" value="%s"',
                @$colconf['type'] ?: 'text',
                $col,
                htmlspecialchars(@$colconf['value'])