extension_hook bugfix in editlog.pl