possible bug in comprofiler.class.php

17 years 11 months ago #14051 by ford
Don't know if this is a bug, but I was browsing through the comprofiler.class.php, and then I stumbled upon this in the function _getEditTabContents:

There is a database call:

[code:1]$database->setQuery( "SELECT f.* FROM #__comprofiler_fields f"
. "\n WHERE f.published=1 AND f.tabid=".$tab->tabid." ORDER BY f.ordering"«»);
$rowFields = $database->loadObjectList();
[/code:1]

in the beginning of the function. Later, in the same function, this statement appears:

[code:1]if(ISSET($rowField->id)) $fieldIDValue=$rowField->id;[/code:1]

notice the "$rowField->id" : id is not a column in #__comprofiler_fieds!

Can someone confirm this and does it have any significance?

Cheers

Ford ;)

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.224 seconds

Facebook Twitter LinkedIn