Signed-off-by: Roland Haeder <roland@mxchange.org>
$resultInstance = $this->doSelectByCriteria($searchInstance);
// Check if there is one entry
- $isFound = ($resultInstance->next() == 1);
+ $isFound = $resultInstance->next();
// Return result
return $isFound;
$resultInstance = $this->doSelectByCriteria($searchInstance);
// Check if there is one entry
- $isFound = ($resultInstance->next() == 1);
+ $isFound = $resultInstance->next();
// Return result
return $isFound;
$resultInstance = $this->doSelectByCriteria($searchInstance);
// Check if there is one entry
- $isFound = ($resultInstance->next() == 1);
+ $isFound = $resultInstance->next();
// Return result
return $isFound;