Skip to content

Commit d384ebe

Browse files
committed
Fix PHP code style
1 parent b26126e commit d384ebe

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

meta/Search.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -98,13 +98,13 @@ public function addColumn($colname)
9898
{
9999
if ($this->processWildcard($colname)) return; // wildcard?
100100
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;
101+
$colname = substr($colname, 1);
102+
foreach ($this->columns as $key => $col) {
103+
if ($col->getLabel() == $colname) unset($this->columns[$key]);
104+
}
105+
return;
106106
}
107-
107+
108108
$col = $this->findColumn($colname);
109109
if (!$col) return; //FIXME do we really want to ignore missing columns?
110110
$this->columns[] = $col;

0 commit comments

Comments
 (0)