Skip to content
This repository has been archived by the owner on Nov 17, 2021. It is now read-only.

Fixed an error when trying to access the property _safeMapShareId #175

Merged
merged 1 commit into from
Apr 5, 2012
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions lib/classes/Swift/Encoder/QpEncoder.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ class Swift_Encoder_QpEncoder implements Swift_Encoder
); );


protected static $_safeMapShare = array(); protected static $_safeMapShare = array();
protected $_safeMapShareId = __CLASS__;


/** /**
* A map of non-encoded ascii characters. * A map of non-encoded ascii characters.
Expand Down Expand Up @@ -134,7 +133,7 @@ public function __wakeup()
if(!isset(self::$_safeMapShare[$this->getSafeMapShareId()])) if(!isset(self::$_safeMapShare[$this->getSafeMapShareId()]))
{ {
$this->initSafeMap(); $this->initSafeMap();
self::$_safeMapShare[$this->$_safeMapShareId] = $this->_safeMap; self::$_safeMapShare[$this->getSafeMapShareId()] = $this->_safeMap;
} }
else else
{ {
Expand Down