Added slightly more output because wtf?

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2022-02-09 15:05:28 -08:00
parent 441f1fbb64
commit 4fd14e5859

View file

@ -70,8 +70,9 @@ class FixDoubleEscape extends Command
$count[$classname][$field] = 0; $count[$classname][$field] = 0;
foreach($classname::where("$field",'LIKE','%&%')->get() as $row) { foreach($classname::where("$field",'LIKE','%&%')->get() as $row) {
$this->info('Updating '.$field.' for '.$classname);
$row->{$field} = html_entity_decode($row->{$field}); $fixed = html_entity_decode($row->{$field});
$this->info('Updating '.$field.' for '.$classname.' to '.$row->{$field}.' to '.$fixed);
$row->save(); $row->save();
$count[$classname][$field]++; $count[$classname][$field]++;