mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 05:04:07 -08:00
Fix snipeit:unescape not unescaping quotes (#6506)
This commit is contained in:
parent
67f6df2be3
commit
f5ba2106cd
|
@ -71,7 +71,7 @@ class FixDoubleEscape extends Command
|
|||
|
||||
foreach($classname::where("$field",'LIKE','%&%')->get() as $row) {
|
||||
$this->info('Updating '.$field.' for '.$classname);
|
||||
$row->{$field} = html_entity_decode($row->{$field});
|
||||
$row->{$field} = html_entity_decode($row->{$field},ENT_QUOTES);
|
||||
$row->save();
|
||||
$count[$classname][$field]++;
|
||||
|
||||
|
|
Loading…
Reference in a new issue