Registry rewritten, exception added #2
[core.git] / inc / classes / main / criteria / dataset / class_DataSetCriteria.php
index c7423cdbc96e0c7a4e0cdf0f2dd5fd59e608a165..da22ede83488672ab502bffcab6ab4af24b21395 100644 (file)
@@ -5,7 +5,7 @@
  * @see                        DatabaseFrontendInterface - An interface for database frontends (front-end to the application)
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Core Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009, 2010 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
@@ -90,7 +90,7 @@ class DataSetCriteria extends BaseCriteria implements StoreableCriteria {
         */
        public function addConfiguredCriteria ($criteriaKey, $configEntry) {
                // Add configuration entry as criteria
-               $value = $this->getConfigInstance()->readConfig($configEntry);
+               $value = $this->getConfigInstance()->getConfigEntry($configEntry);
                $this->addCriteria($criteriaKey, $value);
        }