[Phpfreechat-svn] SF.net SVN: phpfreechat: [854] trunk/src/commands/banlist.class.php
Status: Beta
Brought to you by:
kerphi
From: <ke...@us...> - 2006-10-31 20:30:44
|
Revision: 854 http://svn.sourceforge.net/phpfreechat/?rev=854&view=rev Author: kerphi Date: 2006-10-31 12:30:36 -0800 (Tue, 31 Oct 2006) Log Message: ----------- [en] Bug fix: /banlist does not show banished users ids (sourceforge bug 1588048) [55min] [fr] Bug fix : /banlist ne montre pas la liste des ids bannis (sourceforge bug 1588048) [55min] Modified Paths: -------------- trunk/src/commands/banlist.class.php Modified: trunk/src/commands/banlist.class.php =================================================================== --- trunk/src/commands/banlist.class.php 2006-10-29 17:21:57 UTC (rev 853) +++ trunk/src/commands/banlist.class.php 2006-10-31 20:30:36 UTC (rev 854) @@ -17,7 +17,8 @@ $u =& $this->u; $container =& $c->getContainerInstance(); - $banlist = $container->getChanMeta($p["recipientid"], 'banlist_nickid'); + $banlist = $container->getChanMeta($p["recipient"], 'banlist_nickid'); + if ($banlist == NULL) $banlist = array(); else $banlist = unserialize($banlist); $msg = ""; $msg .= "<p>"._pfc("The banished user's id list is:")."</p>"; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |