Let's see if this works better.
[core.git] / inc / classes / main / criteria / class_BaseCriteria.php
index 9898c1174c1b2f9d3a353117496bbda67d0c05ac..86e67857b732e7d4fe148a13b4a2d4556a26cf48 100644 (file)
@@ -160,7 +160,7 @@ class BaseCriteria extends BaseFrameworkSystem implements Criteria {
         * @param       $criteriaType   Type of this criteria, can be one of 'default' (default), 'choice' or 'exclude'
         * @return      void
         */
-       public function addCriteria ($criteriaKey, $criteriaValue, $criteriaType = 'default') {
+       public final function addCriteria ($criteriaKey, $criteriaValue, $criteriaType = 'default') {
                // Make sure no 'my-' or 'my_' passes this point
                assert((strpos($criteriaKey, 'my-') === FALSE) && (strpos($criteriaKey, 'my_') === FALSE) && (!is_bool($criteriaValue)));