Skip to content

Commit 9ad16be

Browse files
authored
Update Common.php
1 parent bc28d5f commit 9ad16be

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

system/Common.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -690,7 +690,7 @@ function csrf_hash()
690690
*/
691691
function csrf_field(string $id = null)
692692
{
693-
return '<input type="hidden"' . (!empty($id) ? ' id="' . esc($id, 'attr') . '"' : '') . ' name="' . csrf_token() . '" value="' . csrf_hash() . '">';
693+
return '<input type="hidden"' . (!empty($id) ? ' id="' . esc($id, 'attr') . '"' : '') . ' name="' . csrf_token() . '" value="' . csrf_hash() . '" />';
694694
}
695695
}
696696

0 commit comments

Comments
 (0)