Switch to searching on semicolon instead of &

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2022-02-09 15:55:22 -08:00
parent 4e14d70427
commit eedc14401a

View file

@ -69,7 +69,7 @@ class FixDoubleEscape extends Command
$count[$classname]['classname']++;
$count[$classname][$field] = 0;
foreach($classname::where("$field",'LIKE','%&%')->get() as $row) {
foreach($classname::where("$field",'LIKE','%;%')->get() as $row) {
$fixed = html_entity_decode($row->{$field});
if ($row->save()) {