X-Git-Url: http://git.cyclocoop.org/%27.%28%24current%20%3E%202?a=blobdiff_plain;f=profileinfo.php;h=dccdd38ff6a1ca01d8585b07936fa87053b41481;hb=3a026473873ac3cc9d5c181f05961f474495d32c;hp=d000972051e5dc50a8136f8c98a9e0774e10e188;hpb=4732f11a5d4b75616150e36a2c24ccaffc89c265;p=lhc%2Fweb%2Fwiklou.git diff --git a/profileinfo.php b/profileinfo.php index d000972051..dccdd38ff6 100644 --- a/profileinfo.php +++ b/profileinfo.php @@ -412,6 +412,7 @@ $filter = $_REQUEST['filter'] ?? ''; $queries = []; $sqltotal = 0.0; + /** @var profile_point|false $last */ $last = false; foreach ( $res as $o ) { $next = new profile_point( $o->pf_name, $o->pf_count, $o->pf_time, $o->pf_memory ); @@ -435,7 +436,7 @@ $filter = $_REQUEST['filter'] ?? ''; } } - $s = new profile_point( 'SQL Queries', 0, $sqltotal, 0, 0 ); + $s = new profile_point( 'SQL Queries', 0, $sqltotal, 0 ); foreach ( $queries as $q ) { $s->add_child( $q ); }