Skip to content

Commit

Permalink
Can't use method return value in write context
Browse files Browse the repository at this point in the history
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
  • Loading branch information
madhuracj committed Jan 28, 2015
1 parent 02df90a commit c37d2c3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions libraries/Index.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -720,8 +720,9 @@ static public function getView($table, $schema, $print_mode = false)
. '</td>';
}
$r .= '<td ' . $row_span . '>';
if (! empty($index->getType())) {
$r .= htmlspecialchars($index->getType());
$type = $index->getType();
if (! empty($type)) {
$r .= htmlspecialchars($type);
} else {
$r .= htmlspecialchars($index->getChoice());
}
Expand Down

0 comments on commit c37d2c3

Please sign in to comment.