Minor syntax fix spotted in dry run now activate.
This commit is contained in:
@@ -417,10 +417,10 @@ if (!class_exists('domains')) {
|
|||||||
if ($row['default_setting_uuid'] != $setting['default_setting_uuid']) {
|
if ($row['default_setting_uuid'] != $setting['default_setting_uuid']) {
|
||||||
$sql = "update v_default_settings ";
|
$sql = "update v_default_settings ";
|
||||||
$sql .= "set default_setting_uuid = '".$setting['default_setting_uuid']."', ";
|
$sql .= "set default_setting_uuid = '".$setting['default_setting_uuid']."', ";
|
||||||
$sql .= "app_uuid = '".$setting['app_uuid']."', ";
|
$sql .= "app_uuid = '".$setting['app_uuid']."' ";
|
||||||
$sql .= "where default_setting_uuid = '".$row['default_setting_uuid']."';";
|
$sql .= "where default_setting_uuid = '".$row['default_setting_uuid']."';";
|
||||||
echo $sql."\n";
|
//echo $sql."\n";
|
||||||
// $this->db->exec(check_sql($sql));
|
$this->db->exec(check_sql($sql));
|
||||||
}
|
}
|
||||||
|
|
||||||
//remove settings from the array that were found
|
//remove settings from the array that were found
|
||||||
@@ -463,8 +463,8 @@ if (!class_exists('domains')) {
|
|||||||
}
|
}
|
||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
echo $sql;
|
//echo $sql;
|
||||||
// $this->db->exec(check_sql($sql));
|
$this->db->exec(check_sql($sql));
|
||||||
unset($array);
|
unset($array);
|
||||||
}
|
}
|
||||||
} //end settings method
|
} //end settings method
|
||||||
|
|||||||
Reference in New Issue
Block a user