Update extension_copy.php

Change the color to red on the duplicate message.
This commit is contained in:
FusionPBX
2016-11-29 12:07:26 -07:00
committed by GitHub
parent 472069555c
commit 2348767ab9

View File

@@ -55,6 +55,7 @@
// skip the copy if the domain extension already exists
$extension = new extension;
if ($extension->exists($_SESSION['domain_uuid'], $extension_new)) {
$_SESSION['message_mood'] = 'negative';
$_SESSION["message"] = $text['message-duplicate'];
header("Location: extensions.php");
return;