--- masquerade.module	2010-12-24 14:38:41.000000000 +0100
+++ masquerade.module.new	2011-01-30 15:29:58.000000000 +0100
@@ -50,7 +50,7 @@ function masquerade_init() {
   $uid = db_query("SELECT uid_from FROM {masquerade} WHERE sid = :sid AND uid_as = :uid_as", array(
     ':sid' => session_id(),
     ':uid_as' => $user->uid,
-  ))->fetchColumn();
+  ))->fetchCol();
 
   // We are using identical operator (===) instead of equal (==) because if
   // $uid === 0 we want to store the session variable. If there's no record in
