From 6a0b98399f2eb410b8d73e4ab349549785a8222d Mon Sep 17 00:00:00 2001
From: mpv <mpv@1314068.no-reply.drupal.org>
Date: Thu, 1 Oct 2015 15:27:21 -0300
Subject: [PATCH] Issue #2578549 by mpv: Undefined properties allow_jumping and
 time_limit when usin panel pane

---
 plugins/content_types/quiztake_pane.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/plugins/content_types/quiztake_pane.inc b/plugins/content_types/quiztake_pane.inc
index d462475..5fc488b 100644
--- a/plugins/content_types/quiztake_pane.inc
+++ b/plugins/content_types/quiztake_pane.inc
@@ -43,9 +43,9 @@ function quiz_quiztake_pane_content_type_render($subtype, $conf, $panel_args, $c
     $block->content = $node->rendered_content;
   }
   else {
-    $quiz = quiz_take_quiz($node);
+    quiz_take_quiz($node);
     $number = $_SESSION['quiz'][$node->nid]['current'];
-    $block->content = quiz_take_question($quiz, $number);
+    $block->content = quiz_take_question($node, $number);
 
   }
   return $block;
-- 
2.1.4

