From aa08ed0668b8803c2bd298528c6f724385bc968d Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Fri, 19 Feb 2010 10:18:10 -0500 Subject: [PATCH] This is no longer a PEAR_Error --- ansel/lib/Gallery.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ansel/lib/Gallery.php b/ansel/lib/Gallery.php index 7d6e976a8..9513cf71a 100644 --- a/ansel/lib/Gallery.php +++ b/ansel/lib/Gallery.php @@ -644,11 +644,11 @@ class Ansel_Gallery extends Horde_Share_Object_sql_hierarchical } catch (Horde_Exception $e) { // Might not support the requested style...try ansel_default // but protect against infinite recursion. - Horde::logMessage($iview, __FILE__, __LINE__, PEAR_LOG_DEBUG); + Horde::logMessage($e->getMessage(), __FILE__, __LINE__, PEAR_LOG_DEBUG); if ($style != 'ansel_default') { return $this->getDefaultImage('ansel_default'); } - Horde::logMessage($iview, __FILE__, __LINE__, PEAR_LOG_ERR); + Horde::logMessage($e->getMessage(), __FILE__, __LINE__, PEAR_LOG_ERR); } } else { -- 2.11.0