bad function call

darcs-hash:20080624030741-34904-e5b601dd4d76b367ae09a61923b062f6a36702f7.gz
This commit is contained in:
Evan Prodromou 2008-06-23 23:07:41 -04:00
parent 91a3598972
commit 97b016387b

View File

@ -458,7 +458,7 @@ function common_rememberme() {
$rm = new Remember_me(); $rm = new Remember_me();
$rm->code = common_good_rand(16); $rm->code = common_good_rand(16);
$rm->user = $user->id(); $rm->user = $user->id();
if (!$rm->insert) { if (!$rm->insert()) {
common_log_db_error($rm, 'INSERT', __FILE__); common_log_db_error($rm, 'INSERT', __FILE__);
return false; return false;
} }