cvs: pear /Pager Common.php package.xml
| From: | Lorenzo Alberton | Date: | Wed, 26 Mar 2008 22:23:49 +0000 |
| Subject: | cvs: pear /Pager Common.php package.xml | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-51700@lists.php.net to get a copy of this message | ||
quipo Wed Mar 26 22:23:49 2008 UTC
Modified files:
/pear/Pager Common.php package.xml
Log:
fixed bug #13472: PHP 6 removes get_magic_quotes_gpc()
http://cvs.php.net/viewvc.cgi/pear/Pager/Common.php?r1=1.77&r2=1.78&diff_format=u
Index: pear/Pager/Common.php
diff -u pear/Pager/Common.php:1.77 pear/Pager/Common.php:1.78
--- pear/Pager/Common.php:1.77 Wed Mar 26 22:18:31 2008
+++ pear/Pager/Common.php Wed Mar 26 22:23:49 2008
@@ -33,7 +33,7 @@
* @author Richard Heyes <richard@phpguru.org>
* @copyright 2003-2007 Lorenzo Alberton, Richard Heyes
* @license http://www.debian.org/misc/bsd.license BSD
License (3 Clause)
- * @version CVS: $Id: Common.php,v 1.77 2008/03/26 22:18:31 quipo Exp $
+ * @version CVS: $Id: Common.php,v 1.78 2008/03/26 22:23:49 quipo Exp $
* @link http://pear.php.net/package/Pager
*/
@@ -996,7 +996,7 @@
$this->_recursive_urldecode($this->_extraVars);
$qs = array_merge($qs, $this->_extraVars);
}
- if (count($qs) && get_magic_quotes_gpc()) {
+ if (count($qs) && function_exists('get_magic_quotes_gpc') &&
get_magic_quotes_gpc()) {
$this->_recursive_stripslashes($qs);
}
return $qs;
http://cvs.php.net/viewvc.cgi/pear/Pager/package.xml?r1=1.106&r2=1.107&diff_format=u
Index: pear/Pager/package.xml
diff -u pear/Pager/package.xml:1.106 pear/Pager/package.xml:1.107
--- pear/Pager/package.xml:1.106 Wed Mar 26 22:18:31 2008
+++ pear/Pager/package.xml Wed Mar 26 22:23:49 2008
@@ -23,7 +23,7 @@
<active>no</active>
</lead>
<date>2008-03-26</date>
- <time>23:16:27</time>
+ <time>23:23:27</time>
<version>
<release>2.4.6</release>
<api>2.4.6</api>
@@ -36,6 +36,7 @@
<notes>- fixed bug #13316: NOTICE in getLinks() in Jumping mode
- fixed bug #13342: getLinks() returns wrong result with multi-byte arrays
- fixed bug #13469: getPerPageSelectBox() can produce invalid xhtml with no data
+- fixed bug #13472: PHP 6 Removes get_magic_quotes_gpc()
- fixed bug #13506: POST method deletes querystring
- request #13509: added 'prevImgEmpty' and 'nextImgEmpty' options to show a
disabled
prev/next page link when you are on the last/first page (cweiske)
@@ -107,6 +108,7 @@
<notes>- fixed bug #13316: NOTICE in getLinks() in Jumping mode
- fixed bug #13342: getLinks() returns wrong result with multi-byte arrays
- fixed bug #13469: getPerPageSelectBox() can produce invalid xhtml with no data
+- fixed bug #13472: PHP 6 Removes get_magic_quotes_gpc()
- fixed bug #13506: POST method deletes querystring
- request #13509: added 'prevImgEmpty' and 'nextImgEmpty' options to show a
disabled
prev/next page link when you are on the last/first page (cweiske)