logo       

cvs: pear /Net_URL URL.php: msg#00640

php.cvs.pear

Subject: cvs: pear /Net_URL URL.php

shane Sat Sep 28 20:16:09 2002 EDT

Modified files:
/pear/Net_URL URL.php
Log:
does need to check for empty


Index: pear/Net_URL/URL.php
diff -u pear/Net_URL/URL.php:1.16 pear/Net_URL/URL.php:1.17
--- pear/Net_URL/URL.php:1.16 Sat Sep 28 19:51:58 2002
+++ pear/Net_URL/URL.php Sat Sep 28 20:16:08 2002
@@ -241,7 +241,8 @@
*/
function getQueryString()
{
- if (is_array($this->querystring)) {
+ if (!empty($this->querystring) &&
+ is_array($this->querystring)) {
foreach ($this->querystring as $name => $value) {
if (is_array($value)) {
foreach ($value as $k => $v) {



--
PEAR CVS Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise