From 944701c7254664e6443ec3614fb5f4feba63b59d Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Fri, 18 Mar 2016 13:37:15 +0100 Subject: [PATCH] ObjectController: remove superfluous sprintf --- library/Director/Web/Controller/ObjectController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Director/Web/Controller/ObjectController.php b/library/Director/Web/Controller/ObjectController.php index 4857dc8b..13b97c01 100644 --- a/library/Director/Web/Controller/ObjectController.php +++ b/library/Director/Web/Controller/ObjectController.php @@ -133,7 +133,7 @@ abstract class ObjectController extends ActionController $this->view->form->handleRequest(); $this->view->actionLinks = $this->view->qlink( - sprintf($this->translate('Clone'), $this->translate(ucfirst($ltype))), + $this->translate('Clone'), 'director/' . $ltype .'/clone', array('name' => $object->object_name), array('class' => 'icon-paste')