Project

General

Profile

Actions

Bug #3986

closed

PHP 5.4 nested tabs usage warning

Added by krileon over 11 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
29 April 2013
Due date:
% Done:

100%

Estimated time:

Description

When using nested tabs on PHP 5.4 the below warning is thrown because the fake Profile tab object isn't created before being populated.

Warning: Creating default object from empty value in administrator/components/com_comprofiler/comprofiler.class.php on line 3559

https://www.joomlapolis.com/forum/153-professional-member-support/220866-php-warning-on-line-3559?start=12

Quickfix is to simply declare it an stdclass if it isn't already one.


Files

comprofiler.class.patch (695 Bytes) comprofiler.class.patch krileon, 29 April 2013 19:32
Actions

Also available in: Atom PDF