github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
github ([personal profile] github) wrote in [site community profile] changelog2024-04-08 07:26 pm

[dreamwidth/dreamwidth] e517a9: fix cat loading error in $u->should_receive_suppor...

Branch: refs/heads/main Home: https://github.com/dreamwidth/dreamwidth Commit: e517a9d5e00b978044f56996b7707b6aac1ace3e https://github.com/dreamwidth/dreamwidth/commit/e517a9d5e00b978044f56996b7707b6aac1ace3e Author: Kareila kareila@dreamwidth.org Date: 2024-04-08 (Mon, 08 Apr 2024)

Changed paths: M cgi-bin/LJ/User/Permissions.pm

Log Message:


fix cat loading error in $u->should_receive_support_notifications

In my fix for #2315 I inadvertently introduced a bug, which wasn't caught until [personal profile] rahaeli reported spotting the following TheSchwartz error:

Can't use string ("12") as a HASH ref while "strict refs" in use at /home/dw/production/cgi-bin/LJ/Support.pm line 263.

This patch should fix the problem, BUT I haven't been able to test it.

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