Browse files

fix #150

  • Loading branch information...
1 parent 904c834 commit 1f19898693b29ef6aa74d6c8a22eeb5e8ecedcbd @xboston xboston committed May 25, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 core/joostina.php
View
6 core/joostina.php
@@ -582,10 +582,10 @@ public static function run() {
}
// главное содержимое - стек вывода компонента - mainbody
+ joosDocument::set_body(ob_get_clean());
+
if (self::$activroute == 'static_run') {
- return ob_get_clean();
- } else {
- joosDocument::set_body(ob_get_clean());
+ return joosDocument::get_body();
}
}
else {

0 comments on commit 1f19898

Please sign in to comment.