Missing variable declared
authorRoland Häder <roland@mxchange.org>
Fri, 21 Aug 2009 22:01:08 +0000 (22:01 +0000)
committerRoland Häder <roland@mxchange.org>
Fri, 21 Aug 2009 22:01:08 +0000 (22:01 +0000)
application/ship-simu/main/user/class_ShipSimuBaseUser.php

index 5515d3c..426edcb 100644 (file)
@@ -70,6 +70,9 @@ class ShipSimuBaseUser extends BaseUser implements Registerable, Updateable {
                // Default is that everyone is poor... ;-)
                $hasRequired = false;
 
+               // Init instance
+               $pointsInstance = null;
+
                try {
                        // Get a points instance from registry
                        $pointsInstance = Registry::getRegistry()->getInstance('points');