Skip to content

Instantly share code, notes, and snippets.

@zombor
Created June 25, 2010 20:41
Show Gist options
  • Save zombor/453414 to your computer and use it in GitHub Desktop.
Save zombor/453414 to your computer and use it in GitHub Desktop.
diff --git a/classes/kohana/core.php b/classes/kohana/core.php
index 7b6eeb8..8f40260 100644
--- a/classes/kohana/core.php
+++ b/classes/kohana/core.php
@@ -1438,7 +1438,7 @@ class Kohana_Core {
// Introspection on closures in a stack trace is impossible
$params = NULL;
}
- else
+ elseif (function_exists($step['function']))
{
if (isset($step['class']))
{
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment