From: Michael J. Rubinsky Date: Mon, 24 May 2010 17:09:23 +0000 (-0400) Subject: log this error, fix variable name X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=4fd5de48328cc44ba9e468a6acb62a36ea1959dd;p=horde.git log this error, fix variable name --- 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'); } }