Skip to content

Instantly share code, notes, and snippets.

@mjrider
Created November 2, 2015 09:46
Show Gist options
  • Save mjrider/7e68f14db5035917abf0 to your computer and use it in GitHub Desktop.
Save mjrider/7e68f14db5035917abf0 to your computer and use it in GitHub Desktop.
--- a/lib/stores/mysqlstore.phtml
+++ b/lib/stores/mysqlstore.phtml
@@ -1081,6 +1081,7 @@ class mysqlstore extends store{
if ($object) {
while (list($name, $value)=each($values)) {
+ if($name == 'scope' ) { continue; }
if ($value!="") {
$query_names.="AR_".AddSlashes($name).", ";
$query_values.="$value, ";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment