From: Ben Klang Date: Tue, 25 May 2010 18:03:57 +0000 (-0400) Subject: Beatnik: No more PEAR_Error X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=4a1c27f88ec5a5dcb3158b5d605e4e656adbb311;p=horde.git Beatnik: No more PEAR_Error --- diff --git a/beatnik/lib/Beatnik.php b/beatnik/lib/Beatnik.php index f81d55936..191983bff 100644 --- a/beatnik/lib/Beatnik.php +++ b/beatnik/lib/Beatnik.php @@ -566,7 +566,7 @@ class Beatnik { try { $result = $beatnik->driver->saveRecord(array_merge($defaults, $info)); } catch (Exception $e) { - $GLOBALS['notification']->push($result->getMessage() . ': ' . $result->getDebugInfo(), 'horde.error'); + $GLOBALS['notification']->push($e->getMessage() . ': ' . $e->getDebugInfo(), 'horde.error'); } $GLOBALS['notification']->push(sprintf(_('Record added: %s/%s'), $rectype, $info['hostname']), 'horde.success'); }