]> git.mxchange.org Git - hub.git/blobdiff - inc/classes/main/points/class_UserPoints.php
Code merged from ship-simu repository
[hub.git] / inc / classes / main / points / class_UserPoints.php
index 17c22e2548842fb4eccf3ee72bafe3b68f04cc87..e7b636f4fa51244a8d73bbcc14061d41d6ae4dea 100644 (file)
@@ -72,7 +72,7 @@ class UserPoints extends BaseFrameworkSystem implements Registerable {
 
                // Now get a search criteria and set the user's name as criteria
                $criteriaInstance = ObjectFactory::createObjectByConfiguredName('search_criteria_class');
-               $criteriaInstance->addCriteria('points_uid', $this->getUserInstance()->getUserName());
+               $criteriaInstance->addCriteria("points_uid", $this->getUserInstance()->getUserName());
                $criteriaInstance->setLimit(1);
 
                // Get result back
@@ -80,7 +80,7 @@ class UserPoints extends BaseFrameworkSystem implements Registerable {
 
                // Do we have an entry?
                if ($resultInstance->next()) {
-                       // Load points here - TODO!
+                       // @TODO Load points here
                        $this->partialStub("Load points here for comparison.");
                } // END - if