X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Fuser%2Fclass_BaseUser.php;h=0aa89c354c6587ed574ab73fc8f815077ae6bf0f;hp=60ed235556800cbdd19c8442487a15254b6fd379;hb=bc94f1c95be0b773f5323a75e976e44ca3d0e760;hpb=73ade3eff17e9265ff18e28793430e9e2a591a3e
diff --git a/inc/classes/main/user/class_BaseUser.php b/inc/classes/main/user/class_BaseUser.php
index 60ed2355..0aa89c35 100644
--- a/inc/classes/main/user/class_BaseUser.php
+++ b/inc/classes/main/user/class_BaseUser.php
@@ -51,10 +51,6 @@ class BaseUser extends BaseFrameworkSystem implements Updateable {
protected function __construct ($className) {
// Call parent constructor
parent::__construct($className);
-
- // Clean up a little
- $this->removeNumberFormaters();
- $this->removeSystemArray();
}
/**
@@ -245,13 +241,16 @@ class BaseUser extends BaseFrameworkSystem implements Updateable {
$this->setResultInstance($resultInstance);
} // END - if
- // Rewind it
+ // Rewind it and advance to first entry
$this->getResultInstance()->rewind();
+ // This call set the result instance to a clean state
+ $this->getResultInstance()->next();
+
// Search for it
if ($this->getResultInstance()->find('pass_hash')) {
// So does the hashes match?
- //* DEBUG: */ echo $requestInstance->getRequestElement('pass_hash') . '/' . $this->getResultInstance()->getFoundValue() . '
';
+ //* DEBUG: */ echo $requestInstance->getRequestElement('pass_hash') . '
' . $this->getResultInstance()->getFoundValue() . '
';
$matches = ($requestInstance->getRequestElement('pass_hash') === $this->getResultInstance()->getFoundValue());
} // END - if