write full namespace when using Tlog

This commit is contained in:
Manuel Raynaud
2013-08-09 09:37:31 +02:00
parent 7926d64352
commit 9d22fdd0f7

View File

@@ -186,7 +186,7 @@ class Category extends BaseAction implements EventSubscriberInterface
} }
catch(PropelException $e) { 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."; $message = "Failed to change your account, please try again.";
} }