bad function call
darcs-hash:20080624030741-34904-e5b601dd4d76b367ae09a61923b062f6a36702f7.gz
This commit is contained in:
parent
91a3598972
commit
97b016387b
@ -458,7 +458,7 @@ function common_rememberme() {
|
||||
$rm = new Remember_me();
|
||||
$rm->code = common_good_rand(16);
|
||||
$rm->user = $user->id();
|
||||
if (!$rm->insert) {
|
||||
if (!$rm->insert()) {
|
||||
common_log_db_error($rm, 'INSERT', __FILE__);
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user