profile.php code error?

On line 81 of profile.php you have:

if ( !($p_arr['ID'] && ($logged['admin'] || $logged['moderator'] || $oProfile -> owner || $p_arr['Status'] = 'Active') ) )

The above line only has the one '='

apparently it should have two

Should be:

if ( !($p_arr['ID'] && ($logged['admin'] || $logged['moderator'] || $oProfile -> owner || $p_arr['Status'] == 'Active') ) )

Can any programmers confirm the above and tell us for why?

Regards,

Stuart

There are none so blind as those that will not see.
Quote · 11 Dec 2008
 Yes you right, it's small mistake
We only have a unique modules for dolphin!
Quote · 11 Dec 2008
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.