git.shiar.nl
/
minimedit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6b8af7
)
login/edit: set correct id for input fields
author
Mischa POSLAWSKY
<perl@shiar.org>
Sat, 16 Jun 2018 13:38:12 +0000
(15:38 +0200)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Sat, 16 Jun 2018 19:58:29 +0000
(21:58 +0200)
login/edit.php
patch
|
blob
|
history
diff --git
a/login/edit.php
b/login/edit.php
index be27f9c98dde3d885969053364b0a02c48ba70f1..fe70ef95144dc5e348584c4ed0f09d3eaae388d6 100644
(file)
--- a/
login/edit.php
+++ b/
login/edit.php
@@
-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'])