Ticket #612 (closed Bug: invalid)
Profiler bug with Template_Controller
| Reported by: | Manuel Parente | Owned by: | Shadowhand |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.2 |
| Component: | Core | Version: | SVN HEAD |
| Keywords: | Profiler Template_Controller | Cc: |
Description
When using Template_Controller with :
// Default to no auto-rendering protected $auto_render = TRUE;
the Profiler will appear two time in every page due to:
/**
* Adds event for adding the profile output to the page when displayed.
*/
public function __construct()
{
// Add profiler to page output automatically
Event::add('system.display', array($this, 'render'));
Log::add('debug', 'Profiler Library initialized');
}
in the Profiler_Core class.
Easy to fix! :)
Change History
Note: See
TracTickets for help on using
tickets.
