mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Added slightly more output because wtf?
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
441f1fbb64
commit
4fd14e5859
|
@ -70,8 +70,9 @@ class FixDoubleEscape extends Command
|
|||
$count[$classname][$field] = 0;
|
||||
|
||||
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();
|
||||
$count[$classname][$field]++;
|
||||
|
||||
|
|
Loading…
Reference in a new issue