<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Nette Framework forum : Uživatelé Nette Framework : Latte : Latte 3.0.19 hlásí chybu Unparenthesized `a ? b : c ? d : e` is not supported</title>
<link>https://forum.nette.org/cs</link>
<description>Nette Framework forum</description>
<language>cs</language>
<docs>http://backend.userland.com/rss</docs>
<item>
	<title>Latte 3.0.19 hlásí chybu Unparenthesized `a ? b : c ? d : e` is not supported (Latte)</title>
	<dc:creator>Marek Bartoš</dc:creator>
	<link>https://forum.nette.org/cs/36680#p227737</link>
	<guid isPermaLink="false">227737@http://forum.nette.org/cs</guid>
	<description>&lt;p&gt;&lt;a
href=&quot;https://github.com/nette/latte/issues/381&quot;&gt;https://github.com/…e/issues/381&lt;/a&gt;&lt;/p&gt;
</description>
	<pubDate>Mon, 07 Oct 2024 21:51:57 +0200</pubDate>
</item>
<item>
	<title>Latte 3.0.19 hlásí chybu Unparenthesized `a ? b : c ? d : e` is not supported (Latte)</title>
	<dc:creator>H0w4rd</dc:creator>
	<link>https://forum.nette.org/cs/36680#p227736</link>
	<guid isPermaLink="false">227736@http://forum.nette.org/cs</guid>
	<description>&lt;p&gt;Upgradoval jsem Latte z 3.0.18 na 3.0.19 a začalo mi to
hlásit chybu:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;Unparenthesized `a ? b : c ? d : e` is not supported. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)`&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;na řádku&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;{default $layout = $user-&amp;gt;isLoggedIn() ? &apos;admin&apos; : &apos;plain&apos;}&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Ať jsem to závorkoval, jak chtěl, stále to hlásilo stejnou chybu.&lt;/p&gt;
</description>
	<pubDate>Mon, 07 Oct 2024 21:45:02 +0200</pubDate>
</item>
</channel>
</rss>
