local_copy_object.php: adjust error message text
authorDenis Ovsienko <denis@ovsienko.info>
Tue, 1 Sep 2015 10:24:59 +0000 (11:24 +0100)
committerDenis Ovsienko <denis@ovsienko.info>
Tue, 1 Sep 2015 10:24:59 +0000 (11:24 +0100)
copyLotOfObjects(): use attribute name instead of attribute id

local_copy_object.php

index 6bfe3e8..b934ea4 100644 (file)
@@ -274,7 +274,7 @@ function copyLotOfObjects()//$template_object)
                                        else
                                                commitUpdateAttrValue ($object_id, $record['id'], $value ) ;
                                else
-                                       showError ('Permission denied, "' . $record['id'] . '"can not be set');
+                                       showError ('Permission denied, "' . $record['name'] . '" can not be set');
 
                        }