mirror of
https://github.com/grocy/grocy.git
synced 2025-08-15 10:14:39 +00:00
Auto-compact stock entries (closes #1343)
This commit is contained in:
@@ -229,7 +229,10 @@ class BaseController
|
||||
}
|
||||
|
||||
// Allow some special chars
|
||||
$value = str_replace('&', '&', $value);
|
||||
if (!is_array($value))
|
||||
{
|
||||
$value = str_replace('&', '&', $value);
|
||||
}
|
||||
}
|
||||
|
||||
return $requestBody;
|
||||
|
Reference in New Issue
Block a user