Skip to content
Snippets Groups Projects
Commit 94111c2d authored by Jared Hancock's avatar Jared Hancock
Browse files

No need for distinct, unique field

parent 7294d395
Branches
Tags
No related merge requests found
......@@ -100,8 +100,7 @@ class Canned {
if (!$this->_filters) {
$this->_filters = array();
$res = db_query(
'SELECT DISTINCT name'
.' FROM '.EMAIL_FILTER_TABLE
'SELECT name FROM '.EMAIL_FILTER_TABLE
.' WHERE canned_response_id = '.db_input($this->getId())
.' ORDER BY name');
while ($row = db_fetch_row($res))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment