AliasHandler:

- fix query in getList(), which caused an empty list on some systems
  https://sourceforge.net/p/postfixadmin/bugs/313/
  Fix by VERSATECH SRL, versatechsrl @SF


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1678 a1433add-5e2c-0410-b055-b7f2511e0802
pull/2/head
Christian Boltz 10 years ago
parent a22fe1c4be
commit 8e5a4551cb

@ -283,7 +283,8 @@ class AliasHandler extends PFAHandler {
public function getList($condition, $limit=-1, $offset=-1) {
# only list aliases that do not belong to mailboxes
return parent::getList( "__is_mailbox IS NULL AND ( $condition )", $limit, $offset);
# TODO: breaks if $condition is an array
return parent::getList( "__mailbox_username IS NULL AND ( $condition )", $limit, $offset);
}
protected function _validate_goto($field, $val) {

Loading…
Cancel
Save