debug_info variable doesn't check true or false but rather if empty.

Created on 22 December 2022, almost 2 years ago
Updated 7 September 2023, about 1 year ago

Problem/Motivation

There is currently a check for the configuration variable 'debug_info'. But this checks if the variable is empty and not if it's true or false.

Steps to reproduce

Set the local variable to 0 and check if you still get logs.

Proposed resolution

Change the if statement to check for true or false.

Remaining tasks

- Write a patch
- Review the patch
- deploy the patch.

User interface changes

none.

API changes

none

Data model changes

TBD

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇳🇱Netherlands arantxio Dordrecht

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024