From fa2dc02528bcba0b86a7f43afbdb06a35868a3cf Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Thu, 24 Apr 2014 07:16:20 +0000 Subject: [PATCH] add copy to the device description when making a copy of a device --- app/devices/device_copy.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/devices/device_copy.php b/app/devices/device_copy.php index 75f413ab7e..bee020239b 100644 --- a/app/devices/device_copy.php +++ b/app/devices/device_copy.php @@ -117,6 +117,9 @@ else { //prepare the devices array unset($devices[0]["device_uuid"]); +//add copy to the device description + $devices[0]["device_description"] = $text['button-copy']." ".$devices[0]["device_description"]; + //prepare the device_lines array $x = 0; foreach ($device_lines as $row) {