cvs diff: Diffing . ? .project Index: masquerade.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/masquerade/masquerade.module,v retrieving revision 1.16.2.20 diff -u -p -r1.16.2.20 masquerade.module --- masquerade.module 28 Aug 2009 18:59:29 -0000 1.16.2.20 +++ masquerade.module 28 Aug 2009 19:22:25 -0000 @@ -369,7 +369,10 @@ function masquerade_autocomplete($string while ($user = db_fetch_object($result)) { $matches[$user->name] = check_plain($user->name); } - exit(drupal_to_js($matches)); + if (module_exists('devel')) { + $GLOBALS['devel_shutdown'] = FALSE; + } + exit(drupal_json($matches)); } /** @@ -390,7 +393,10 @@ function masquerade_autocomplete_multipl while ($user = db_fetch_object($result)) { $matches[$prefix . $user->name] = check_plain($user->name); } - exit(drupal_to_js($matches)); + if (module_exists('devel')) { + $GLOBALS['devel_shutdown'] = FALSE; + } + exit(drupal_json($matches)); } /**