mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-01-22 12:00:19 +01:00
Aggiunto escape per problemi di apici durante l'inserimento query
This commit is contained in:
parent
a6fb822187
commit
b50f42891e
@ -146,7 +146,7 @@ if (!empty($options) && $options != 'custom') {
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-md-12">
|
||||
{[ "type": "textarea", "label": "'.tr('Query prevista').'", "name": "query['.$key.']", "value": "'.$field['query'].'"';
|
||||
{[ "type": "textarea", "label": "'.tr('Query prevista').'", "name": "query['.$key.']", "value": "'.str_replace( '"', '\"', $field['query'] ).'"';
|
||||
if (!$editable) {
|
||||
echo ', "readonly": "1"';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user