Skip to content

Instantly share code, notes, and snippets.

@ajshort
Created June 17, 2012 13:53
Show Gist options
  • Select an option

  • Save ajshort/2944610 to your computer and use it in GitHub Desktop.

Select an option

Save ajshort/2944610 to your computer and use it in GitHub Desktop.
diff --git a/control/Session.php b/control/Session.php
index a4f13b5..acd340f 100644
--- a/control/Session.php
+++ b/control/Session.php
@@ -301,10 +301,8 @@ class Session {
$diffVar = &$diffVar[$n];
}
- if($var !== $val) {
- $var = $val;
- $diffVar = $val;
- }
+ $var = $val;
+ $diffVar = $val;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment