Skip to content
Browse files

Typo fix in ModelHelper.

  • Loading branch information...
1 parent fffecee commit 0fe4c3026f10c60d8e6b036ef13f5e7353027835 @gabordemooij committed Dec 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 RedBean/ModelHelper.php
View
2 RedBean/ModelHelper.php
@@ -121,7 +121,7 @@ public static function clearDependencyInjector() {
* @param Observable $observable
*/
public function attachEventListeners( RedBean_Observable $observable ) {
- foreach(array('update','open','delete','after_delete','after_update','dispense') as $e) $observable->addEventListener('update', $e );
+ foreach(array('update','open','delete','after_delete','after_update','dispense') as $e) $observable->addEventListener($e,$this);
}
}

0 comments on commit 0fe4c30

Please sign in to comment.
Something went wrong with that request. Please try again.