From fc8fe9e7ce4795a21e672d0eb623964e3f92bd6e Mon Sep 17 00:00:00 2001
From: Jared Hancock <jared@osticket.com>
Date: Wed, 1 Apr 2015 13:16:00 -0500
Subject: [PATCH] lint: Fix incorrect function call

---
 scp/users.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scp/users.php b/scp/users.php
index bf5140215..9d60ebcef 100644
--- a/scp/users.php
+++ b/scp/users.php
@@ -101,7 +101,7 @@ if ($_POST) {
 
                 case 'register':
                     foreach ($users as $U) {
-                        if (($acct = $U->getAccount()) && $acct->setConfirmationEmail())
+                        if (($acct = $U->getAccount()) && $acct->sendConfirmEmail())
                             $count++;
                         elseif ($acct = UserAccount::register($U,
                             array('sendemail' => true), $errors
-- 
GitLab