Minor Changes

This commit is contained in:
earnolmartin 2018-04-26 22:24:23 -06:00
parent 3e612db836
commit 68ef9077a2

View file

@ -420,7 +420,7 @@ class abook_database extends addressbook_backend {
$this->table, $this->owner);
$sepstr = '';
foreach($alis as $undef => $nickname) {
foreach($alias as $undef => $nickname) {
$query .= sprintf("%s nickname='%s' ", $sepstr,
$this->dbh->quoteString($nickname));
$sepstr = 'OR';