From 97b016387bd79568850e33e9e25e4ff4598ea903 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 23 Jun 2008 23:07:41 -0400 Subject: [PATCH] bad function call darcs-hash:20080624030741-34904-e5b601dd4d76b367ae09a61923b062f6a36702f7.gz --- lib/util.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util.php b/lib/util.php index df2a7218bc..c89588acff 100644 --- a/lib/util.php +++ b/lib/util.php @@ -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; }