cvs: pear /Crypt_GPG/GPG/Driver Php.php
| From: | Michael Gauthier | Date: | Sat, 05 Apr 2008 00:48:39 +0000 |
| Subject: | cvs: pear /Crypt_GPG/GPG/Driver Php.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-51800@lists.php.net to get a copy of this message | ||
gauthierm Sat Apr 5 00:48:39 2008 UTC
Modified files:
/pear/Crypt_GPG/GPG/Driver Php.php
Log:
Declare resp as an array before using it.
http://cvs.php.net/viewvc.cgi/pear/Crypt_GPG/GPG/Driver/Php.php?r1=1.22&r2=1.23&diff_format=u
Index: pear/Crypt_GPG/GPG/Driver/Php.php
diff -u pear/Crypt_GPG/GPG/Driver/Php.php:1.22 pear/Crypt_GPG/GPG/Driver/Php.php:1.23
--- pear/Crypt_GPG/GPG/Driver/Php.php:1.22 Sat Apr 5 00:45:49 2008
+++ pear/Crypt_GPG/GPG/Driver/Php.php Sat Apr 5 00:48:39 2008
@@ -32,7 +32,7 @@
* @author Michael Gauthier <mike@silverorange.com>
* @copyright 2005-2007 silverorange
* @license http://www.gnu.org/copyleft/lesser.html LGPL
License 2.1
- * @version CVS: $Id: Php.php,v 1.22 2008/04/05 00:45:49 gauthierm Exp $
+ * @version CVS: $Id: Php.php,v 1.23 2008/04/05 00:48:39 gauthierm Exp $
* @link http://pear.php.net/package/Crypt_GPG
* @link http://www.gnupg.org/
*/
@@ -1438,6 +1438,8 @@
*/
private function _parseVerifyStatus($status)
{
+ $resp = array();
+
foreach (explode("\n", $status) as $line) {
$line = rtrim($line);
if (substr($line, 0, 9) == '[GNUPG:] ') {
@@ -1453,6 +1455,7 @@
}
}
}
+
return $resp;
}