When viewing a graph and the "reset" button is pressed, the graph is reset but if you wait until the graph refreshes again the following error will occur:
[ERROR: Invalid URL]
To fix this, modify the frontends/php/history.php file as seen in red below:
Before: (near the end of the file)
After:
[ERROR: Invalid URL]
To fix this, modify the frontends/php/history.php file as seen in red below:
Before: (near the end of the file)
if(!isset($_REQUEST["plaintext"]))
{
if(in_array($_REQUEST["action"],array("showvalues","showgraph")))
{
navigation_bar("history.php",$to_save_request);
}
}
?>
<?php
{
if(in_array($_REQUEST["action"],array("showvalues","showgraph")))
{
navigation_bar("history.php",$to_save_request);
}
}
?>
<?php
if(!isset($_REQUEST["plaintext"]))
{
if(in_array($_REQUEST["action"],array("showvalues","showgraph")))
{
navigation_bar("", array('itemid'));
}
}
?>
<?php
{
if(in_array($_REQUEST["action"],array("showvalues","showgraph")))
{
navigation_bar("", array('itemid'));
}
}
?>
<?php
Comment