svn: /pear2/Pyrus/trunk/src/Pyrus/DER/ Integer.php
| From: | Helgi Þormar Þorbjörnsson | Date: | Sun, 28 Feb 2010 02:41:40 +0000 |
| Subject: | svn: /pear2/Pyrus/trunk/src/Pyrus/DER/ Integer.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-9215@lists.php.net to get a copy of this message | ||
dufuz Sun, 28 Feb 2010 02:41:40 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=295570
Log:
Fix a PHP Notice where the value was not being pulled in from the class variable.
Changed paths:
U pear2/Pyrus/trunk/src/Pyrus/DER/Integer.php
Modified: pear2/Pyrus/trunk/src/Pyrus/DER/Integer.php
===================================================================
--- pear2/Pyrus/trunk/src/Pyrus/DER/Integer.php 2010-02-28 00:34:08 UTC (rev 295569)
+++ pear2/Pyrus/trunk/src/Pyrus/DER/Integer.php 2010-02-28 02:41:40 UTC (rev 295570)
@@ -15,7 +15,7 @@
/**
* Represents a Distinguished Encoding Rule Integer
- *
+ *
* @category PEAR2
* @package PEAR2_Pyrus
* @author Greg Beaver <cellog@php.net>
@@ -46,7 +46,7 @@
function serialize()
{
if (is_string($this->value)) {
- return $this->prependTLV($value, strlen($value));
+ return $this->prependTLV($this->value, strlen($this->value));
}
if ($this->value < 0) {