FIX Param joinfiles not sanitized
Conflicts: htdocs/admin/mails_templates.php
This commit is contained in:
parent
b043442b91
commit
4da4499569
@ -280,7 +280,7 @@ if (empty($reshook))
|
||||
elseif ($keycode == 'content') {
|
||||
$sql .= "'".$db->escape(GETPOST($keycode, 'restricthtml'))."'";
|
||||
}
|
||||
elseif (in_array($keycode, array('joinfile', 'private', 'position', 'scale'))) {
|
||||
elseif (in_array($keycode, array('joinfiles', 'private', 'position', 'scale'))) {
|
||||
$sql .= (int) GETPOST($keycode, 'int');
|
||||
}
|
||||
else {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user