summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlezvous.ca>2008-06-23 23:07:41 -0400
committerEvan Prodromou <evan@controlezvous.ca>2008-06-23 23:07:41 -0400
commit97b016387bd79568850e33e9e25e4ff4598ea903 (patch)
treedcb667902e0aeb9b176121f439f59f6922b36533 /lib
parent91a35989724ad4dd4b6f283834851f4146816b6a (diff)
bad function call
darcs-hash:20080624030741-34904-e5b601dd4d76b367ae09a61923b062f6a36702f7.gz
Diffstat (limited to 'lib')
-rw-r--r--lib/util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php
index df2a7218b..c89588acf 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;
}