Revision: 1252
http://phpfreechat.svn.sourceforge.net/phpfreechat/?rev=1252&view=rev
Author: kerphi
Date: 2008-09-12 12:26:17 +0000 (Fri, 12 Sep 2008)
Log Message:
-----------
Bug fix: when reloading the chat while a private message tab is opened, the PV tab was not shown again. (thanks to Amandarn)
Modified Paths:
--------------
trunk/src/commands/connect.class.php
Modified: trunk/src/commands/connect.class.php
===================================================================
--- trunk/src/commands/connect.class.php 2008-09-12 09:37:45 UTC (rev 1251)
+++ trunk/src/commands/connect.class.php 2008-09-12 12:26:17 UTC (rev 1252)
@@ -74,7 +74,7 @@
for($i = 0 ; $i < count($pvlist) ; $i++)
{
$cmdp = array();
- $cmdp["param"] = $pvlist[$i];
+ $cmdp["params"][0] = $pvlist[$i];
$cmd =& pfcCommand::Factory( $i < count($pvlist)-1 || !$joinoldchan ? 'privmsg2' : 'privmsg' );
$cmd->run($xml_reponse, $cmdp);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|