Permalink
Browse files

Bugfixes

  • Loading branch information...
1 parent e84c69a commit 0632d6d53611e9d292d51ccede9c6b1d91aa151b @beberlei committed Feb 2, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 bootstrap.php
  2. +1 −1 lib/CarFramework/ConsoleSQLLogger.php
View
2 bootstrap.php
@@ -13,5 +13,5 @@
$cache = new \Doctrine\Common\Cache\MemcacheCache();
$cache->setMemcache($memcache);*/
-$entityManager = \CarFramework\Application::bootstrap($configFile, false, $cache);
+$entityManager = \CarFramework\Application::bootstrap($configFile, true, $cache);
View
2 lib/CarFramework/ConsoleSQLLogger.php
@@ -50,7 +50,7 @@ public function stopQuery()
$param = "<Object:".get_class($param).">";
}
}
- $output->writeln(sprintf(' * %s: %s', $type, substr(str_replace(array("\r", "\n"), " ", $param), 0, 100)));
+ $output->writeln(sprintf(' * %s: %s', $type, substr(str_replace(array("\r", "\n"), " ", (string)$param), 0, 100)));
}
$output->writeln('');
}

0 comments on commit 0632d6d

Please sign in to comment.