BxDolBrowse.php counrty or country?

Messing around with my own country issue and ran across this in classes/BxDolBrowse.php; is "counrty" a deliberate spelling or is it supposed to be "country"?

 

case 'counrty' :
    if ( !isset($this -> aMembersInfo[$sBackKey]['counrty']) ) 
    {
       $aCountryArray[$sBackKey]['counrty'] = $this -> getCountriesCount($sQuery);
   
       if ( !$sOnline ) 
       {
          $this -> writeCache($aCountryArray);
       }
    
       return $aCountryArray[$sBackKey]['counrty'];
    }
    else 
    {
       return $this -> aMembersInfo[$sBackKey]['counrty'];
    }

 

 

 

Quote · 3 Nov 2009

Ticket added: http://www.boonex.com/trac/dolphin/ticket/1411. Not 100% sure if this an error, but made a ticket as I'm sharing your doubt ;-)

Life is a fatal disease, sexually transmissible - Virginity is carcinogenic! Ask here for vaccine.
Quote · 3 Nov 2009

You have very good eyes mauricecano :-) You was right and I saw that this error was immediately fixed and the ticket closed :-)

Life is a fatal disease, sexually transmissible - Virginity is carcinogenic! Ask here for vaccine.
Quote · 3 Nov 2009

Messing around with my own country issue and ran across this in classes/BxDolBrowse.php; is "counrty" a deliberate spelling or is it supposed to be "country"?

case 'counrty' :
if ( !isset($this -> aMembersInfo[$sBackKey]['counrty']) ) 
{
$aCountryArray[$sBackKey]['counrty'] = $this -> getCountriesCount($sQuery);

if ( !$sOnline ) 
{
$this -> writeCache($aCountryArray);
}

return $aCountryArray[$sBackKey]['counrty'];
}
else 
{
return $this -> aMembersInfo[$sBackKey]['counrty'];
}

Hello, it's not a mistake just small misprint!

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 3 Nov 2009

Well I'm messing around with some country settings and when going through code saw this and wanted to make sure.  I couldn't find anything calling the particular counrty case so figured it was a mistake misprint :).

Quote · 3 Nov 2009
 
 
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.