]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/points/class_UserPoints.php
Continued:
[core.git] / framework / main / classes / points / class_UserPoints.php
index 0d9c329d1964f8eecc6a73539288738d666957ee..b07858dbcb5e6d83dcaa21f2f45a2ea5364b1172 100644 (file)
@@ -147,10 +147,10 @@ class UserPoints extends BaseFrameworkSystem implements Registerable, BookablePo
                // Do we have an entry?
                if ($this->getResultInstance()->next()) {
                        // Get the entry
-                       $entry = $this->getResultInstance()->current();
+                       $currentEntry = $this->getResultInstance()->current();
 
                        // Add the points
-                       $amount += $entry[UserPointsDatabaseWrapper::DB_COLUMN_POINTS];
+                       $amount += $currentEntry[UserPointsDatabaseWrapper::DB_COLUMN_POINTS];
 
                        // Now get another criteria
                        $updateInstance = ObjectFactory::createObjectByConfiguredName('update_criteria_class');