github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
github ([personal profile] github) wrote in [site community profile] changelog2026-02-12 10:47 pm

[dreamwidth/dreamwidth] 7cdad0: Fix inability to remove retired "other sites" from...

Branch: refs/heads/main Home: https://github.com/dreamwidth/dreamwidth Commit: 7cdad0c67e2136733120d6331c8e55ffdf1bdae6 https://github.com/dreamwidth/dreamwidth/commit/7cdad0c67e2136733120d6331c8e55ffdf1bdae6 Author: Mark Smith mark@dreamwidth.org Date: 2026-02-12 (Thu, 12 Feb 2026)

Changed paths: M cgi-bin/DW/Controller/Manage/Profile.pm M views/manage/profile.tt

Log Message:


Fix inability to remove retired "other sites" from profile (#3475)

The profile edit page never showed legacy userprop-based services (like ICQ) because the template checked IF profile_accts which is always truthy (empty hash ref). Changed to IF profile_accts.size to match the logic in ProfilePage.pm. Also fixed the legacy branch's missing counter parameter and increment, and guarded against inserting empty rows when clearing a legacy entry.

Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com

To unsubscribe from these emails, change your notification settings at https://github.com/dreamwidth/dreamwidth/settings/notifications