|
cvs: pear /Net_URL URL.php: msg#00640php.cvs.pear
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> |
|---|---|---|
| Previous by Date: | cvs: pear /Net_URL URL.php: 00640, Shane Caraveo |
|---|---|
| Next by Date: | RE: cvs: pear /Net_URL URL.php: 00640, Richard Heyes |
| Previous by Thread: | Re: cvs: pear /Net_URL URL.phpi: 00640, Shane Caraveo |
| Next by Thread: | cvs: pear /MDB/unittest MDB_api_testcase.php MDB_manager_testcase.php MDB_usage_testcase.php metapear_test_db.schema test.php test_setup.php.dist /MDB/unittest/templates results.tpl: 00640, Paul Gregory Cooper |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |