From c77bdcd8f8f75a85928beb8fea1368acbe73449e Mon Sep 17 00:00:00 2001 From: Max Kremmel Date: Sun, 10 Jun 2007 14:30:35 +0000 Subject: simplify parseData call --- Pigeonholes.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'Pigeonholes.php') diff --git a/Pigeonholes.php b/Pigeonholes.php index ae40948..6eb2b2f 100644 --- a/Pigeonholes.php +++ b/Pigeonholes.php @@ -1,6 +1,6 @@ - * @version $Revision: 1.86 $ + * @version $Revision: 1.87 $ * @package pigeonholes */ @@ -88,9 +88,7 @@ class Pigeonholes extends LibertyAttachable { $this->mInfo['editor'] = ( isset( $row['modifier_real_name'] ) ? $row['modifier_real_name'] : $row['modifier_user'] ); $this->mInfo['display_link'] = $this->getDisplayLink(); $this->mInfo['display_url'] = $this->getDisplayUrl(); - if (!empty($row['data'])) { - $this->mInfo['parsed_data'] = $this->parseData($row['data'],$row['format_guid']); - } + $this->mInfo['parsed_data'] = $this->parseData( $row ); } // if the content for the pigeonhole is requested, get it -- cgit v1.3