A free open source IT asset/license management system
Fix snipeit:unescape not unescaping quotes (#6506)
KeenRivalsf5ba2106cd4b
diff --git a/app/Console/Commands/FixDoubleEscape.php b/app/Console/Commands/FixDoubleEscape.phpindex 648e209950..64f6aad572 100644--- a/app/Console/Commands/FixDoubleEscape.php+++ b/app/Console/Commands/FixDoubleEscape.php@@ -71,7 +71,7 @@ class FixDoubleEscape extends Commandforeach($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]++;