Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Aiheen aloitti: alchemy - joulukuu 31, 2005, 05:39:38 IP

Otsikko: bug SMF 1.1 rc2 global variable declared twice
Kirjoitti: alchemy - joulukuu 31, 2005, 05:39:38 IP
ManageServer.php line 235

global $boarddir, $sc, $cookiename, $modSettings, $user_settings, $sourcedir, $context, $sourcedir;

$sourcedir is declared twice.

Not sure what needs to go into the second instance, or if this is supposed to be this way for some strange reason?
Otsikko: Re: bug SMF 1.1 rc2 global variable declared twice
Kirjoitti: JayBachatero - joulukuu 31, 2005, 06:49:40 IP
http://www.simplemachines.org/community/index.php?topic=63164.0

-JayBachatero
Otsikko: Re: bug SMF 1.1 rc2 global variable declared twice
Kirjoitti: alchemy - joulukuu 31, 2005, 08:49:33 IP
Thanks for the update.......the bug is in the latest revision of RC2.  :-[
Otsikko: Re: bug SMF 1.1 rc2 global variable declared twice
Kirjoitti: JayBachatero - joulukuu 31, 2005, 08:54:50 IP
Ahh yes you're right.  I just downloaded that file and I see it.  I will report this to Grudge.

-JayBachatero