? boost-177845.patch
? boost-646228.patch
Index: boost.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/boost/boost.module,v
retrieving revision 1.3.2.2.2.5.2.262
diff -u -p -r1.3.2.2.2.5.2.262 boost.module
--- boost.module	28 Nov 2009 07:59:34 -0000	1.3.2.2.2.5.2.262
+++ boost.module	30 Nov 2009 00:46:20 -0000
@@ -2866,6 +2866,9 @@ function boost_db_is_expired($filename) 
  */
 function boost_set_cookie($uid, $expires = NULL) {
   if (!$expires) {
+    // Let the old way still work, in case user object was passed
+    $uid = is_object($uid) ? $uid->uid : $uid;
+
     $expires = ini_get('session.cookie_lifetime');
     $expires = (!empty($expires) && is_numeric($expires)) ? BOOST_TIME + (int)$expires : 0;
     setcookie(BOOST_COOKIE, strval($uid), $expires, ini_get('session.cookie_path'), ini_get('session.cookie_domain'), ini_get('session.cookie_secure') == '1');
