Skip to content
Permalink
Browse files

user search

  • Loading branch information
omatosan committed Mar 7, 2020
1 parent 04f0a9a commit 88af42d6e1cf1b7a482ad1f2c992ecd0d565ca20
Showing with 1 addition and 1 deletion.
  1. +1 −1 vexim/adminuser.php
@@ -81,7 +81,7 @@
$query .= " AND lower(localpart) LIKE lower(:letter)";
$queryParams[':letter'] = $letter.'%';
} elseif ($_POST['searchfor'] != '') {
$query .= ' AND ' . $dbh->quote($_POST['field']) . ' LIKE :searchfor"%';
$query .= ' AND ' . $dbh->quote($_POST['field']) . ' LIKE :searchfor';
$queryParams[':searchfor'] = '%'.$_POST['searchfor'].'%';
}
$query .= ' ORDER BY realname, localpart';

0 comments on commit 88af42d

Please sign in to comment.
You can’t perform that action at this time.