Permalink
Browse files

Fix reload of non-static properties (i.e. `Reveal::$parametersMatcher…

…s`).
  • Loading branch information...
1 parent 75776be commit 0964f9e7e6dbe7705c01def9949a0fbce98adc82 @jadb jadb committed Feb 27, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 Lib/Reveal.php
View
@@ -278,7 +278,7 @@ public static function reload() {
return;
}
foreach (self::$_initialState as $key => $val) {
- if ($key != '_initialState') {
+ if ($key != '_initialState' && isset(self::${$key})) {
self::${$key} = $val;
}
}

0 comments on commit 0964f9e

Please sign in to comment.