Skip to content

Commit

Permalink
fix php error.
Browse files Browse the repository at this point in the history
  • Loading branch information
ihabzee committed Dec 16, 2024
1 parent 264495f commit 2eeca0e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/urls.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
if (!defined('USERID') || USERID == '[survey respondent]') {
$noAuth = '&NOAUTH';
}

$header = $module->getProjectSetting("survey-scheduler-header");
?>

<!--
Expand Down Expand Up @@ -83,7 +85,7 @@ class="hidden"/>
<input type="hidden" id="user-email" value="<?php echo $user_email ?>" class="hidden"/>
<input type="hidden" id="complementary-suffix" value="<?php echo $module->getSuffix() ?>" class="hidden"/>
<input type="hidden" id="survey-scheduler-header"
value="<?php echo(isset($_GET['pid']) ? end($module->getProjectSetting("survey-scheduler-header")) : '') ?>"
value="<?php echo(isset($_GET['pid']) and is_array($header)? end($header) : '') ?>"
class="hidden"/>
<input type="hidden" value="<?php echo $module->getReservationEventId() ?>" name="reservation-events-id"
id="survey-reservation-event-id">
Expand Down

0 comments on commit 2eeca0e

Please sign in to comment.