]> git.mxchange.org Git - shipsimu.git/commitdiff
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 5515d3c0df1cbae5d10039676ed722da6203eff6..426edcbedceceb92fd398a835a3c173626e1209e 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');