cvs: pear /Net_URL URL.php

From: Date: Sun, 29 Sep 2002 00:16:09 +0000
Subject: cvs: pear /Net_URL URL.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-6737@lists.php.net to get a copy of this message
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) {

« previous php.pear.cvs (#6737) next »