]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
bad function call
authorEvan Prodromou <evan@controlezvous.ca>
Tue, 24 Jun 2008 03:07:41 +0000 (23:07 -0400)
committerEvan Prodromou <evan@controlezvous.ca>
Tue, 24 Jun 2008 03:07:41 +0000 (23:07 -0400)
darcs-hash:20080624030741-34904-e5b601dd4d76b367ae09a61923b062f6a36702f7.gz

lib/util.php

index df2a7218bc3262b92ac1b6328c8a9ad941aff6ce..c89588acff514c20dc057fd472564bff4ac20806 100644 (file)
@@ -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;
        }