Skip to content

Commit

Permalink
Dev: quexmlpdf.php - php notice undefined index
Browse files Browse the repository at this point in the history
  • Loading branch information
mfaber committed Oct 23, 2013
1 parent 6529529 commit d008906
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion application/libraries/admin/quexmlpdf.php
Expand Up @@ -1558,7 +1558,12 @@ public function create($questionnaire)
foreach($questionnaire['sections'] as $sk => $sv)
{
//link the section title with the first question for pagination purposes
$questions = count($sv['questions']);
if (isset($sv['questions']))
{
$questions = count($sv['questions']);
}
else $questions=0;


$this->startTransaction();
$this->addSection($sv['text'],$sv['title'],$sv['info']);
Expand Down

1 comment on commit d008906

@mfaber
Copy link
Contributor Author

@mfaber mfaber commented on d008906 Oct 23, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@adamzammit
Hi Adam, small fix in quexmlpdf.php.

Please sign in to comment.