Index: trunk/extensions/CentralAuth/WikiSet.php |
— | — | @@ -220,7 +220,9 @@ |
221 | 221 | global $wgMemc; |
222 | 222 | $data = array(); |
223 | 223 | foreach ( self::$mCacheVars as $var ) { |
224 | | - $data[$var] = $this->$var; |
| 224 | + if ( isset( $this->$var ) ) { |
| 225 | + $data[$var] = $this->$var; |
| 226 | + } |
225 | 227 | } |
226 | 228 | $wgMemc->set( self::memcKey( $this->mId ), $data ); |
227 | 229 | } |