diff --git a/include/staff/ticket-view.inc.php b/include/staff/ticket-view.inc.php
index b216b3f8bcf64066e48004088dc09008412cae0a..a977ab2c6cc1fa387b996011e0c9d1167c552630 100644
--- a/include/staff/ticket-view.inc.php
+++ b/include/staff/ticket-view.inc.php
@@ -315,7 +315,7 @@ if($ticket->isOverdue())
                                 </ul>
                             </div>
                             <?php
-                            if ($role->hasPerm(TicketModel::PERM_EDIT)) {
+                            if ($role->hasPerm(Ticket::PERM_EDIT)) {
                             $numCollaborators = $ticket->getThread()->getNumCollaborators();
                              if ($ticket->getThread()->getNumCollaborators())
                                 $recipients = sprintf(__('%d'),
diff --git a/scp/tasks.php b/scp/tasks.php
index 8ba17864d9091d1710087b8e39c6daca2ac15ed5..a918d0ecb90ab79603466577b5f14179b918e4b3 100644
--- a/scp/tasks.php
+++ b/scp/tasks.php
@@ -113,7 +113,7 @@ if($_POST && !$errors):
         switch(strtolower($_POST['do'])):
           case 'addcc':
               $errors = array();
-              if (!$role->hasPerm(TicketModel::PERM_EDIT)) {
+              if (!$role->hasPerm(Ticket::PERM_EDIT)) {
                   $errors['err']=__('Permission Denied. You are not allowed to add collaborators');
               } elseif (!$_POST['user_id'] || !($user=User::lookup($_POST['user_id']))) {
                   $errors['err'] = __('Unknown user selected');
diff --git a/scp/tickets.php b/scp/tickets.php
index d9cc0d52e48585e18d2a5dbbe201d629e75692fb..fc4eb4b66c7eb425385252d9f2a4ef43ffe67566 100644
--- a/scp/tickets.php
+++ b/scp/tickets.php
@@ -367,7 +367,7 @@ if($_POST && !$errors):
                     }
                     break;
                 case 'addcc':
-                    if (!$role->hasPerm(TicketModel::PERM_EDIT)) {
+                    if (!$role->hasPerm(Ticket::PERM_EDIT)) {
                         $errors['err']=__('Permission Denied. You are not allowed to add collaborators');
                     } elseif (!$_POST['user_id'] || !($user=User::lookup($_POST['user_id']))) {
                         $errors['err'] = __('Unknown user selected');
@@ -382,7 +382,7 @@ if($_POST && !$errors):
                     }
                     break;
                   case 'addbcc':
-                      if (!$role->hasPerm(TicketModel::PERM_EDIT)) {
+                      if (!$role->hasPerm(Ticket::PERM_EDIT)) {
                           $errors['err']=__('Permission Denied. You are not allowed to add collaborators');
                       } elseif (!$_POST['user_id'] || !($user=User::lookup($_POST['user_id']))) {
                           $errors['err'] = __('Unknown user selected');