Refill page now books points (unfinished, need redirect!)
[shipsimu.git] / application / ship-simu / main / user / class_ShipSimuBaseUser.php
index e12dfddadfc0a050c575bab4bddcd7ba12ee47ef..87032dfcd0f2d978129265064fbbc271d8287d16 100644 (file)
@@ -76,7 +76,7 @@ class ShipSimuBaseUser extends BaseUser implements Registerable, Updateable {
                // Is there an instance?
                if (is_null($pointsInstance)) {
                        // Then create one
-                       $pointsInstance = ObjectFactory::createObjectByConfiguredName('user_ppints_class', array($this));
+                       $pointsInstance = ObjectFactory::createObjectByConfiguredName('user_points_class', array($this));
 
                        // And store it in registry
                        Registry::getRegistry()->addInstance('points', $pointsInstance);