<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[LuxCal Web Calendar — LuxCal 4.7.0 - Problem when editing one occurrence of repeating event]]></title>
		<link>https://www.luxsoft.eu/lcforum/viewtopic.php?id=39</link>
		<atom:link href="https://www.luxsoft.eu/lcforum/extern.php?action=feed&amp;tid=39&amp;type=rss" rel="self" type="application/rss+xml"></atom:link>
		<description><![CDATA[The most recent posts in LuxCal 4.7.0 - Problem when editing one occurrence of repeating event.]]></description>
		<lastBuildDate>Mon, 02 Jul 2018 14:43:10 +0000</lastBuildDate>
		<generator>PunBB 1.4.4</generator>
		<item>
			<title><![CDATA[LuxCal 4.7.0 - Problem when editing one occurrence of repeating event]]></title>
			<link>https://www.luxsoft.eu/lcforum/viewtopic.php?pid=136#p136</link>
			<description><![CDATA[<p>A bug in V4.7.0 causes the following problem:<br>When editing one occurrence of a repeating or multi-day event, the other days of the event disappear.<br>When deleting one occurrence of a repeating or multi-day event, the whole event is deleted.</p><p>To fix this problem changes to two files are required. You can download the changed files <a href="http://www.luxsoft.eu/fixes/luxcal470-F1.zip" target="_blank"><strong>here</strong></a>.</p><p>You can also fix this problem by applying the following changes:<br>1. edit file pages/eventform1.php and just after line 49 (&lt;input type=&#039;hidden&#039; name=&#039;eid&#039; value=&#039;{$eid}&#039;&gt;) add the following line . . .<br></p><div class="codebox"><pre><code>&lt;input type=&#039;hidden&#039; name=&#039;evD&#039; value=&#039;{$evD}&#039;&gt;</code></pre></div><p>2. edit file pages/event.php and change line 107 from . . .<br></p><div class="codebox"><pre><code>$ediN = 0;</code></pre></div><p>to . . .<br></p><div class="codebox"><pre><code>$ediN = (isset($_POST[&#039;ediN&#039;])) ? $_POST[&#039;ediN&#039;] : 0; //0: not relevant, 1: occurrence, 2: series</code></pre></div><p>and change line 115 from . . .<br></p><div class="codebox"><pre><code>$ediN = ($mode == &#039;edi&#039; and is_numeric($_POST[&#039;action&#039;][3])) ? $_POST[&#039;action&#039;][3] : 0; //0: not relevant, 1: occurrence, 2: series</code></pre></div><p>to . . .<br></p><div class="codebox"><pre><code>if ($mode == &#039;edi&#039; and is_numeric($_POST[&#039;action&#039;][3])) { $ediN = $_POST[&#039;action&#039;][3]; } //0: not relevant, 1: occurrence, 2: series</code></pre></div><p>and change line 222 from . . .<br></p><div class="codebox"><pre><code>if (!empty($evD)) { $sda = IDtoDD($evD); }</code></pre></div><p>to . . .<br></p><div class="codebox"><pre><code>if (!empty($evD) and empty($sda)) { $sda = IDtoDD($evD); }</code></pre></div><p>Use cut and paste!</p><p>All users of v4.7.0 are advised to implement these changes.</p><p>Roel</p>]]></description>
			<author><![CDATA[null@example.com (Roel)]]></author>
			<pubDate>Mon, 02 Jul 2018 14:43:10 +0000</pubDate>
			<guid>https://www.luxsoft.eu/lcforum/viewtopic.php?pid=136#p136</guid>
		</item>
	</channel>
</rss>
