Fixed bug where existing characters with $row->spells empty would throw a PHP error.