Permalink
Browse files

Merge pull request #78 from jammin84/patch-4

fix issue #56
  • Loading branch information...
2 parents c331f24 + d44b264 commit b650d98b52f688af7f5416ff28db4edcb9124a54 @ysamouhos ysamouhos committed Dec 18, 2015
Showing with 1 addition and 1 deletion.
  1. +1 −1 includes/pages/nodes/nodes_plot_link.php
@@ -37,6 +37,7 @@ function output() {
$main->menu->hide = TRUE;
$main->footer->hide = TRUE;
$this->tpl['a_node'] = (isset($_POST['a_node'])?$_POST['a_node']:get('a_node'));
+ $this->tpl['nodes_pickup_link'] = make_ref('/pickup/nodes');
if ($this->tpl['a_node'] != '') {
$a_node_data = $db->get('id, name, latitude, longitude, elevation', 'nodes', "id = '".$this->tpl['a_node']."'");
$a_node_data = $a_node_data[0];
@@ -94,7 +95,6 @@ function output() {
$c = 299792.458; // light speed in km
$this->tpl['fsl'] = 20 * log10(4 * pi() * $this->tpl['distance'] * ($frequency / $c));
- $this->tpl['nodes_pickup_link'] = make_ref('/pickup/nodes');
$this->tpl['plot_image'] = make_ref('/nodes/plot', array("a_node" => $this->tpl['a_node'], "b_node" => $this->tpl['b_node'], "frequency" => $this->tpl['frequency']));
}

0 comments on commit b650d98

Please sign in to comment.