From 4fd5de48328cc44ba9e468a6acb62a36ea1959dd Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Mon, 24 May 2010 13:09:23 -0400 Subject: [PATCH] log this error, fix variable name --- horde/admin/perms/addchild.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/horde/admin/perms/addchild.php b/horde/admin/perms/addchild.php index a6f52086d..728e3df56 100644 --- a/horde/admin/perms/addchild.php +++ b/horde/admin/perms/addchild.php @@ -48,7 +48,8 @@ if ($ui->validateAddForm($info)) { header('Location: ' . $url); exit; } catch (Exception $e) { - $notification->push(sprintf(_("\"%s\" was not created: %s."), $perms->getTitle($child->getName()), $result->getMessage()), 'horde.error'); + Horde::logMessage($e, 'ERR'); + $notification->push(sprintf(_("\"%s\" was not created: %s."), $perms->getTitle($child->getName()), $e->getMessage()), 'horde.error'); } } -- 2.11.0