Skip to content

Commit

Permalink
space
Browse files Browse the repository at this point in the history
  • Loading branch information
infograf768 committed Dec 9, 2019
1 parent 43b2f2e commit 83d41bc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ public static function getContacts()
->select('u.name, (' . $alang . ') as alang, (' . $slang . ') as slang, (' . $mlang . ') as mlang')
->from($db->quoteName('#__users', 'u'))
->join('LEFT', $db->quoteName('#__contact_details', 'cd'), $db->quoteName('cd.user_id') . ' = ' . $db->quoteName('u.id'))
->where('EXISTS (SELECT 1 FROM' . $db->quoteName('#__content', 'c') . ' WHERE ' . $db->quoteName('c.created_by') . ' = ' . $db->quoteName('u.id') . ')')
->where('EXISTS (SELECT 1 FROM ' . $db->quoteName('#__content', 'c') . ' WHERE ' . $db->quoteName('c.created_by') . ' = ' . $db->quoteName('u.id') . ')')
->group('u.id, u.name');

$db->setQuery($query);
Expand Down

0 comments on commit 83d41bc

Please sign in to comment.