Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fixed wrong task name for Kohana_Exception #57

Merged
merged 1 commit into from

2 participants

@biakaveron

get_class($task) throws an Exception, because $task is not an object. Use $class instead.

@kiall kiall merged commit bb1c071 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 28, 2012
  1. @biakaveron
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  classes/Kohana/Minion/Task.php
View
2  classes/Kohana/Minion/Task.php
@@ -74,7 +74,7 @@ public static function factory($options)
{
throw new Kohana_Exception(
"Task ':task' is not a valid minion task",
- array(':task' => get_class($task))
+ array(':task' => $class)
);
}
Something went wrong with that request. Please try again.