mirror of
https://github.com/e107inc/e107.git
synced 2025-07-28 18:30:53 +02:00
Bugtracker #4696 - oldpolls error
This commit is contained in:
@@ -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 = "<table class='fborder' style='".USER_WIDTH."'>
|
||||
<td class='fcaption' style='width: 30%;'>".POLLAN_36."</td>
|
||||
</tr>\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);
|
||||
|
Reference in New Issue
Block a user