Permalink
Browse files

Fix strict errors.

  • Loading branch information...
1 parent 929a403 commit 5936fa5930ef4a86115f74ac9586c7251c8b9e71 @markstory markstory committed Dec 29, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/Cake/Utility/ObjectCollection.php
@@ -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(

0 comments on commit 5936fa5

Please sign in to comment.