Skip to content

Commit

Permalink
Fix strict errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Dec 29, 2011
1 parent 929a403 commit 5936fa5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Cake/Utility/ObjectCollection.php
Expand Up @@ -109,7 +109,8 @@ public function trigger($callback, $params = array(), $options = array()) {
$options[$opt] = $event->{$opt};
}
}
$callback = array_pop(explode('.', $event->name()));
$parts = explode('.', $event->name());
$callback = array_pop($parts);
}
$options = array_merge(
array(
Expand Down

0 comments on commit 5936fa5

Please sign in to comment.