TYPO3 Forge: Issueshttp://forge.typo3.org/http://forge.typo3.org/themes/typo3_forge/favicon/favicon.png?17058661692011-11-30T15:26:06ZTYPO3 Forge
Redmine TYPO3 Core - Bug #32212 (Closed): select.pidInList = 0 won't select records with pid = 0http://forge.typo3.org/issues/322122011-11-30T15:26:06ZSoeren Kracker
<p>Following Typoscript:<br /><pre>
10 = CONTENT
10 {
table = static_countries
select {
pidInList = 0
orderBy = cn_short_en
}
renderObj {
field = cn_short_en
}
}
</pre><br />It won't get any records because of this code (pidInList will be unset):<br /><pre>
if (!$conf[$property]) {
unset($conf[$property]);
}
</pre><br />Maybe we can change it to:<br /><pre>
if (!$conf[$property] && $conf[$property] != 0) {
unset($conf[$property]);
}
</pre><br />Don't know if this is the right solution or has any side effects though.</p>