From: Roland Häder Date: Thu, 1 Jul 2010 05:00:27 +0000 (+0000) Subject: Parser errors fixed X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3a833f3e3998dd2cfd336b4deec8c8c5875f0550;p=mailer.git Parser errors fixed --- 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');