Changeset 1123

Show
Ignore:
Timestamp:
11/15/2007 07:05:43 AM (11 months ago)
Author:
PugFish
Message:

toString() only works when used directly with echo or print in PHP < 5.2

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/system/libraries/Profiler.php

    r1077 r1123  
    8181                { 
    8282                        // Closing body tag was found, insert the profiler data before it 
    83                         Kohana::$output = str_replace('</body>', $view.'</body>', Kohana::$output); 
     83                        Kohana::$output = str_replace('</body>', $view->render().'</body>', Kohana::$output); 
    8484                } 
    8585                else