sebgiroux / Cassandra-Cluster-Admin

Manage your Cassandra cluster in your Web browser!
http://www.wajam.com
MIT License
205 stars 66 forks source link

Wrong mx4j_node when selecting a new node from dropdown menu #5

Closed mvsantos closed 13 years ago

mvsantos commented 13 years ago

Line 16 of jmx.php currently is set as below if (isset($_GET['change_mx4j_node'])) $_SESSION['mx4j_node'] = $_GET['mx4j_node'];

But observing the logic below line 16, the correct _GET paramenter setting _SESSION[mx4j_node] should be change_mx4j_node instead of mx4j_node Making that line
if (isset($_GET['change_mx4j_node'])) $_SESSION['mx4j_node'] = $_GET['change_mx4j_node'];

sebgiroux commented 13 years ago

Good catch!

I just commited your fix, thanks a lot!