From 3a833f3e3998dd2cfd336b4deec8c8c5875f0550 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Thu, 1 Jul 2010 05:00:27 +0000 Subject: [PATCH] Parser errors fixed --- inc/modules/admin/what-refbanner.php | 2 +- inc/modules/member/what-holiday.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/modules/admin/what-refbanner.php b/inc/modules/admin/what-refbanner.php index 8f23c36e46..5d4b6a961a 100644 --- a/inc/modules/admin/what-refbanner.php +++ b/inc/modules/admin/what-refbanner.php @@ -115,7 +115,7 @@ VALUES ('%s','%s','%s')", SQL_FREERESULT($result); // Preapre data for the row - $content['visible'] => addSelectionBox('yn', $content['visible'], 'visible'); + $content['visible'] = addSelectionBox('yn', $content['visible'], 'visible'); // Load row template and switch color $OUT .= loadTemplate('admin_refbanner_edit_row', true, $content); diff --git a/inc/modules/member/what-holiday.php b/inc/modules/member/what-holiday.php index d22688bea8..dc459c24e9 100644 --- a/inc/modules/member/what-holiday.php +++ b/inc/modules/member/what-holiday.php @@ -295,7 +295,7 @@ LIMIT 1", array(getMemberId()), __FILE__, __LINE__); case 'N': // Display activation form // Cache timestamps $startingStamp = time() + getConfig('ONE_DAY'); - $endingStamp = $startingStamp + (getConfig('ONE_DAY') * getConfig('holiday_max'); + $endingStamp = $startingStamp + (getConfig('ONE_DAY') * getConfig('holiday_max')); // Starting day $content['start_day'] = addSelectionBox('day' , getDay($startingStamp) , 'start'); -- 2.39.5