From e481af288bf4b8c4fee2c84a07fa57292f9dadf7 Mon Sep 17 00:00:00 2001
From: Thomas Bosviel <thomas@bosviel.org>
Date: Sun, 27 Feb 2011 21:38:08 +0100
Subject: [PATCH] Issue #1075132 by tbosviel: Fix client autocomplete path in user profile.

---
 modules/hosting/client/hosting_client.access.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/hosting/client/hosting_client.access.inc b/modules/hosting/client/hosting_client.access.inc
index 39f49b8..5b06130 100644
--- a/modules/hosting/client/hosting_client.access.inc
+++ b/modules/hosting/client/hosting_client.access.inc
@@ -81,7 +81,7 @@ function hosting_client_user_form($edit, $user, $category) {
         '#type' => 'textfield',
         '#title' => t('Associate a client to this user'),
         '#weight' => 2,
-        '#autocomplete_path' => 'hosting_client/autocomplete',
+        '#autocomplete_path' => 'hosting_client/autocomplete/client',
         '#description' => t('This field allows you to associate an existing client to a user. 
                              It does not create a new client, but allows this user
                              to manage sites belonging to the given client.'),
-- 
1.7.0.4

