X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=profileinfo.php;h=b930f42fcf5f914814963c9308da43a55978b637;hb=e4b551ca0e4d36b45ef6319301fa962450cc5b17;hp=762af69ccb42bf171df2d69802017e296ca623cf;hpb=222727927abfe04a3116e4f7671e7628b14fe661;p=lhc%2Fweb%2Fwiklou.git diff --git a/profileinfo.php b/profileinfo.php index 762af69ccb..b930f42fcf 100644 --- a/profileinfo.php +++ b/profileinfo.php @@ -384,7 +384,7 @@ if ( isset( $_REQUEST['filter'] ) ) { $last = false; foreach ( $res as $o ) { $next = new profile_point( $o->pf_name, $o->pf_count, $o->pf_time, $o->pf_memory ); - if ( $next->name() == '-total' ) { + if ( $next->name() == '-total' || $next->name() == 'main()' ) { profile_point::$totaltime = $next->time(); profile_point::$totalcount = $next->count(); profile_point::$totalmemory = $next->memory();