We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2e21f0 commit d62c7bbCopy full SHA for d62c7bb
src/MetaModels/Attribute/BaseSimple.php
@@ -86,6 +86,11 @@ public function setDataFor($arrValues)
86
*/
87
public function getFilterOptions($idList, $usedOnly, &$arrCount = null)
88
{
89
+ // If empty list, return empty result. See also #379 for discussion.
90
+ if ($idList === array()) {
91
+ return array();
92
+ }
93
+
94
$strCol = $this->getColName();
95
if ($idList) {
96
$objRow = $this->getMetaModel()->getServiceContainer()->getDatabase()
0 commit comments