mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-20 03:16:12 +00:00
print_info_box_apply() code issue, there doesn't appear to be a reason to set an action url here. sprintf() expects the second argument to be mapped "somewhere"
This commit is contained in:
parent
b85cd97da0
commit
b5d6cddbdc
@ -210,7 +210,7 @@ function print_info_box_apply($msg)
|
||||
$value = 'Apply changes';
|
||||
$name= 'apply';
|
||||
|
||||
$savebutton = sprintf('<form action="' . $_SERVER['REQUEST_URI'] . '" method="post">', $_SERVER['REQUEST_URI']);
|
||||
$savebutton = '<form method="post">';
|
||||
$savebutton .= sprintf(
|
||||
'<button type="submit" name="%s" id="%s" class="btn btn-primary pull-right" value="%s">%s</button>',
|
||||
$name,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user