Index: branches/unlabeled/unlabeled-1.65.2/core/kernel/utility/debugger.php =================================================================== diff -u -N -r7660 -r7724 --- branches/unlabeled/unlabeled-1.65.2/core/kernel/utility/debugger.php (.../debugger.php) (revision 7660) +++ branches/unlabeled/unlabeled-1.65.2/core/kernel/utility/debugger.php (.../debugger.php) (revision 7724) @@ -1010,12 +1010,21 @@ */ function getShortReport($memory_used) { + if ($this->constOn('DBG_TOOLBAR_BUTTONS')) { + // we have sql & error count in toolbar, don't duplicate here $info = Array( + 'Script Runtime' => 'PROFILE:script_runtime', + ); + } + else { + // toolbar not visible, then show sql & error count too + $info = Array ( 'Script Runtime' => 'PROFILE:script_runtime', '-' => 'SEP:-', 'Notice / Warning' => 'PROFILE_TC:error_handling', 'SQLs Count' => 'PROFILE_TC:sql', ); + } $ret = 'Application:'.$this->formatSize($memory_used).' ('.$memory_used.')'; foreach ($info as $title => $value_key) {