[Phpfreechat-svn] SF.net SVN: phpfreechat: [582] trunk/themes/default/templates/pfcclient.js.tpl.ph
Status: Beta
Brought to you by:
kerphi
From: <ke...@us...> - 2006-06-15 10:09:14
|
Revision: 582 Author: kerphi Date: 2006-06-15 03:09:09 -0700 (Thu, 15 Jun 2006) ViewCVS: http://svn.sourceforge.net/phpfreechat/?rev=582&view=rev Log Message: ----------- Bug fix: when reloading the page, the previously joined channels were not joined again as expected. Modified Paths: -------------- trunk/themes/default/templates/pfcclient.js.tpl.php Modified: trunk/themes/default/templates/pfcclient.js.tpl.php =================================================================== --- trunk/themes/default/templates/pfcclient.js.tpl.php 2006-06-15 09:45:32 UTC (rev 581) +++ trunk/themes/default/templates/pfcclient.js.tpl.php 2006-06-15 10:09:09 UTC (rev 582) @@ -304,7 +304,7 @@ // the last joined channel must be the last entry in the parameter list for($i=0; $i<count($u->channels); $i++) { - $ch = $u->channels[$i]; + $ch = $u->channels[$i]["name"]; $cmd = $i < count($u->channels)-1 ? "/join2" : "/join"; echo "this.sendRequest('".$cmd."', '".addslashes($ch)."');\n"; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |