From 9d22fdd0f7e4a28cc576e4dfd4507979e739b2d7 Mon Sep 17 00:00:00 2001 From: Manuel Raynaud Date: Fri, 9 Aug 2013 09:37:31 +0200 Subject: [PATCH] write full namespace when using Tlog --- core/lib/Thelia/Action/Category.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/lib/Thelia/Action/Category.php b/core/lib/Thelia/Action/Category.php index 429d31f3c..03b919850 100644 --- a/core/lib/Thelia/Action/Category.php +++ b/core/lib/Thelia/Action/Category.php @@ -186,7 +186,7 @@ class Category extends BaseAction implements EventSubscriberInterface } catch(PropelException $e) { - Tlog::getInstance()->error(sprintf('error during deleting category ID=%s on action/modifyCustomer with message "%s"', $data['id'], $e->getMessage())); + \Thelia\Log\Tlog::getInstance()->error(sprintf('error during deleting category ID=%s on action/modifyCustomer with message "%s"', $data['id'], $e->getMessage())); $message = "Failed to change your account, please try again."; }