<?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 5.2.4 - A "reset to default" bug on the admin's Settings page]]></title>
		<link>https://www.luxsoft.eu/lcforum/viewtopic.php?id=481</link>
		<atom:link href="https://www.luxsoft.eu/lcforum/extern.php?action=feed&amp;tid=481&amp;type=rss" rel="self" type="application/rss+xml"></atom:link>
		<description><![CDATA[The most recent posts in LuxCal 5.2.4 - A "reset to default" bug on the admin's Settings page.]]></description>
		<lastBuildDate>Tue, 19 Dec 2023 09:19:04 +0000</lastBuildDate>
		<generator>PunBB 1.4.4</generator>
		<item>
			<title><![CDATA[LuxCal 5.2.4 - A "reset to default" bug on the admin's Settings page]]></title>
			<link>https://www.luxsoft.eu/lcforum/viewtopic.php?pid=1813#p1813</link>
			<description><![CDATA[<p>A bug on the admin&#039;s settings page causes a reset of all check boxes and single-character input fields to their default values each time the Settings page is opened.<br>The actual settings however, are not reset, unless the settings are saved again after the &quot;reset to default&quot;.<br>This problem can be solved by editing the file &quot;/pages/settings.php&quot; and changing line 57<br>from . . . .<br></p><div class="codebox"><pre><code>$pSet[$key] = $set[$key] ?: $value[0];</code></pre></div><p>to . . . .<br></p><div class="codebox"><pre><code>$pSet[$key] = $set[$key] ?? $value[0];</code></pre></div><p>In other words: by replacing ?: by ??.</p><p>This fix will be included in the next LuxCal version</p><p>Roel</p>]]></description>
			<author><![CDATA[null@example.com (Roel)]]></author>
			<pubDate>Tue, 19 Dec 2023 09:19:04 +0000</pubDate>
			<guid>https://www.luxsoft.eu/lcforum/viewtopic.php?pid=1813#p1813</guid>
		</item>
	</channel>
</rss>
