Index: branches/wmf/1.18wmf1/extensions/LiquidThreads/classes/View.php |
— | — | @@ -359,7 +359,7 @@ |
360 | 360 | * @param $request FauxRequest object to have session data injected into. |
361 | 361 | */ |
362 | 362 | static function fixFauxRequestSession( $request ) { |
363 | | - foreach( $_SESSION as $k => $v ) { |
| 363 | + foreach( (array)$_SESSION as $k => $v ) { |
364 | 364 | $request->setSessionData( $k, $v ); |
365 | 365 | } |
366 | 366 | } |