From ab8e711422f18b58fd79d6a6e3ba851a5bedf629 Mon Sep 17 00:00:00 2001 From: Tyler Bello Date: Wed, 2 Sep 2009 17:46:59 +0000 Subject: initialize actions so handles case when empty --- feed_lib.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/feed_lib.php b/feed_lib.php index 5bbffcb..a73bc4f 100644 --- a/feed_lib.php +++ b/feed_lib.php @@ -15,6 +15,8 @@ function feed_get_actions( $pListHash ) { $conjugationQuery = "SELECT * FROM feed_conjugation"; $overrides = $gBitDb->getAssoc( $conjugationQuery ); + $actions = array(); + while ( $action = $res->fetchRow() ){ if( $content = LibertyContent::getLibertyObject($action['content_id']) ) { $contentType = $content->getContentType(); -- cgit v1.3