diff --git a/e107_plugins/poll/oldpolls.php b/e107_plugins/poll/oldpolls.php index f9200ab41..6eac894a3 100644 --- a/e107_plugins/poll/oldpolls.php +++ b/e107_plugins/poll/oldpolls.php @@ -11,8 +11,8 @@ | GNU General Public License (http://gnu.org). | | $Source: /cvs_backup/e107_0.8/e107_plugins/poll/oldpolls.php,v $ -| $Revision: 1.4 $ -| $Date: 2008-12-11 21:13:48 $ +| $Revision: 1.5 $ +| $Date: 2009-03-22 20:16:23 $ | $Author: e107steved $ +----------------------------------------------------------------------------+ */ @@ -136,6 +136,12 @@ $text = "\n"; +if (!is_object($tp->e_bb)) +{ + require_once(e_HANDLER.'bbcode_handler.php'); + $tp->e_bb = new e_bbcode; +} + foreach($oldpollArray as $oldpoll) { extract($oldpoll);
".POLLAN_36."