[ticket/12570] Fix updating a config with the same value

https://tracker.phpbb.com/browse/PHPBB3-12570