Project

General

Profile

Actions

Bug #7883

closed

Using a STRING or HTML getter does not guarantee a string response

Added by krileon over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
16 March 2020
Due date:
% Done:

100%

Estimated time:

Description

When calling a getter with GetterInterface::STRING or GetterInterface::HTML the expected response type is string. This can respond with an int, float, etc.. if there is nothing to filter. This should always return a string. Implement type casting to ensure a string is always returned.

https://www.joomlapolis.com/forum/153-professional-member-support/242216-error-notice-when-going-to-someones-profile-as-public-user#317172

Actions

Also available in: Atom PDF