Permalink
Browse files

merged branch fixe/patch-1 (PR #175)

Commits
-------

915045a Fixed an error when trying to access the property _safeMapShareId

Discussion
----------

Fixed an error when trying to access the property _safeMapShareId

---------------------------------------------------------------------------

by snc at 2012-03-30T12:17:05Z

I can confirm this bug including that your commit fixed this issue.
  • Loading branch information...
2 parents 8658369 + 915045a commit 85bcd18addbe7a4c56874507e6949b8b50176155 @fabpot fabpot committed Apr 5, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/classes/Swift/Encoder/QpEncoder.php
@@ -94,7 +94,6 @@ class Swift_Encoder_QpEncoder implements Swift_Encoder
);
protected static $_safeMapShare = array();
- protected $_safeMapShareId = __CLASS__;
/**
* A map of non-encoded ascii characters.
@@ -134,7 +133,7 @@ public function __wakeup()
if(!isset(self::$_safeMapShare[$this->getSafeMapShareId()]))
{
$this->initSafeMap();
- self::$_safeMapShare[$this->$_safeMapShareId] = $this->_safeMap;
+ self::$_safeMapShare[$this->getSafeMapShareId()] = $this->_safeMap;
}
else
{

0 comments on commit 85bcd18

Please sign in to comment.