Index: branches/5.1.x/core/kernel/db/dblist.php
===================================================================
diff -u -r13438 -r13750
--- branches/5.1.x/core/kernel/db/dblist.php (.../dblist.php) (revision 13438)
+++ branches/5.1.x/core/kernel/db/dblist.php (.../dblist.php) (revision 13750)
@@ -1,6 +1,6 @@
appendTrace();
}
- trigger_error('Depricated method kDBList->SetWhereClause. Use kDBList->addFilter instead.', E_USER_ERROR);
+ trigger_error('Depricated method kDBList->SetWhereClause. Use kDBList->addFilter instead.', defined('E_USER_DEPRECATED') ? E_USER_DEPRECATED : E_USER_NOTICE);
}
/**
@@ -655,7 +655,7 @@
}
if (!isset($this->Fields[$field]) && $field != 'RAND()' && !$is_expression) {
- trigger_error('Incorrect sorting defined (field = '.$field.'; direction = '.$direction.') in config for prefix '.$this->Prefix.'', E_USER_WARNING);
+ trigger_error('Incorrect sorting defined (field = '.$field.'; direction = '.$direction.') in config for prefix '.$this->Prefix.'', E_USER_NOTICE);
}
$this->OrderFields[] = Array($field, $direction, $is_expression);