Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.1.14

Request #16755 Not possible to join more than one chanel even if "$channelarray" is correctly
Submitted: 2009-11-01 12:01 UTC
From: missterx Assigned: garrettw
Status: Closed Package: Net_SmartIRC (version 1.0.1)
PHP Version: 5.2.5 OS: Linux
Roadmaps: 1.1.0    
Subscription  


 [2009-11-01 12:01 UTC] missterx (Sasa Stankovic)
Description: ------------ function join($channelarray, $key = null, $priority = SMARTIRC_MEDIUM) Contains fawlty code - corrected. Test script: --------------- // Correct code follows: if ($key !== null) { foreach ($channelarray as $idx => $value) { $this->_send('JOIN '.$value.' '.$key, $priority); } } else { foreach ($channelarray as $idx => $value) { $this->_send('JOIN '.$value, $priority); } }

Comments

 [2011-05-10 10:37 UTC] garrettw (Garrett Whitehorn)
Taking care of this in a patch I'm working on.
 [2014-02-05 08:22 UTC] doconnor (Daniel O'Connor)
-Assigned To: +Assigned To: garrettw
 [2014-02-05 08:22 UTC] doconnor (Daniel O'Connor)
-Status: Assigned +Status: Closed
This bug has been fixed in SVN. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.