Skip to content
Snippets Groups Projects
Commit 772004f3 authored by Peter Rotich's avatar Peter Rotich
Browse files

Remove print statement

parent eaaebee1
No related branches found
No related tags found
No related merge requests found
...@@ -52,7 +52,7 @@ if($_POST && is_object($ticket) && $ticket->getId()): ...@@ -52,7 +52,7 @@ if($_POST && is_object($ticket) && $ticket->getId()):
} }
} }
if(!$errors){ if(!$errors) {
//Everything checked out...do the magic. //Everything checked out...do the magic.
if(($msgid=$ticket->postMessage($_POST['message'],'Web'))) { if(($msgid=$ticket->postMessage($_POST['message'],'Web'))) {
if($files && $cfg->allowOnlineAttachments()) if($files && $cfg->allowOnlineAttachments())
...@@ -64,9 +64,7 @@ if($_POST && is_object($ticket) && $ticket->getId()): ...@@ -64,9 +64,7 @@ if($_POST && is_object($ticket) && $ticket->getId()):
} }
} elseif(!$errors['err']) { } elseif(!$errors['err']) {
print_r($errors);
$errors['err']='Error(s) occurred. Please try again'; $errors['err']='Error(s) occurred. Please try again';
} }
break; break;
default: default:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment