Open AllanKlaus opened 5 years ago
I'm getting the following error:
PHP Fatal error: Cannot pass parameter 4 by reference in /var/www/vnstat/vnstat.php on line 119
I updated it. Maybe could be another way to do it and i'm not seeing it now.
I added a var $top10Graph
and after I do a unset
to remove it
Motivation The function
getVnstatData
is very complex. I created a functiongenerateGraph
that perform the same of 4 foreachs on that functiongetVnstatData
.Issue: #14