* registered payment types and like all the others it at least returns the
* money bank transfer type.
*
- * @author Roland Haeder <webmaster@ship-simu.org>
+ * @author Roland Haeder <webmaster@shipsimu.org>
* @version 0.0.0
- * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2012 Core Developer Team
+ * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2014 Core Developer Team
* @license GNU GPL 3.0 or any newer version
- * @link http://www.ship-simu.org
+ * @link http://www.shipsimu.org
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
// Get result back
$resultInstance = $wrapperInstance->doSelectByCriteria($criteriaInstance);
- // Advanced to next entry
- if (!$resultInstance->next()) {
- // Not valid!
- assert(false);
- } // END - if
+ // Advanced to next entry and assert on it as it should always be there
+ assert($resultInstance->valid());
// Set the result instance
$this->setResultInstance($resultInstance);