Skip to content

A free open source IT asset/license management system

Remove html_entities_decode restriction

snipe441f1fbb647a
diff --git a/app/Console/Commands/FixDoubleEscape.php b/app/Console/Commands/FixDoubleEscape.php
index 64f6aad572..648e209950 100644
--- a/app/Console/Commands/FixDoubleEscape.php
+++ b/app/Console/Commands/FixDoubleEscape.php
@@ -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},ENT_QUOTES);
+ $row->{$field} = html_entity_decode($row->{$field});
$row->save();
$count[$classname][$field]++;