We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 01fd24ce authored by Evan Prodromou's avatar Evan Prodromou

Make joinAdd() explicit in OStatusPlugin::onStartProfileCompletionSearch()

parent bce337e7
......@@ -350,8 +350,7 @@ class OStatusPlugin extends Plugin
function onStartProfileCompletionSearch($action, $profile, $search_engine) {
if ($action->field == 'uri') {
$user = new User();
$profile->joinAdd(array('id', 'user:id'));
$profile->whereAdd('uri LIKE "%' . $profile->escape($q) . '%"');
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment