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 b26126e commit d384ebeCopy full SHA for d384ebe
meta/Search.php
@@ -98,13 +98,13 @@ public function addColumn($colname)
98
{
99
if ($this->processWildcard($colname)) return; // wildcard?
100
if ($colname[0] == '-') { // remove column from previous wildcard lookup
101
- $colname = substr($colname, 1);
102
- foreach($this->columns as $key => $col){
103
- if ($col->getLabel() == $colname) unset($this->columns[$key]);
104
- }
105
- return;
+ $colname = substr($colname, 1);
+ foreach ($this->columns as $key => $col) {
+ if ($col->getLabel() == $colname) unset($this->columns[$key]);
+ }
+ return;
106
}
107
-
+
108
$col = $this->findColumn($colname);
109
if (!$col) return; //FIXME do we really want to ignore missing columns?
110
$this->columns[] = $col;
0 commit comments