Remove html_entities_decode restriction

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2022-02-09 14:56:36 -08:00
parent bf194d7794
commit 441f1fbb64

View file

@ -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]++;