Skip to content

Commit

Permalink
Fix php errors
Browse files Browse the repository at this point in the history
  • Loading branch information
David Durieux committed Nov 22, 2016
1 parent 557323f commit c74792d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inc/inventory.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ function displayItemtypeInformation($id, $itemtype) {
echo "<td rowspan='3'>".__('Comments')."</td>";
echo "<td rowspan='3' class='middle'>";

echo "<textarea cols='45' rows='".($rowspan+3)."' name='comment' >".
echo "<textarea cols='45' rows='3' name='comment' >".
$item->fields["comment"];
echo "</textarea></td>";
$model = $itemtype.'Model';
Expand All @@ -285,7 +285,7 @@ function displayItemtypeInformation($id, $itemtype) {
echo "<td>".__('Inventory number')."</td>";
echo "<td>";
$objectName = autoName($item->fields["otherserial"], "otherserial", False,
$item->getType(), $this->fields["entities_id"]);
$item->getType(), $item->fields["entities_id"]);
Html::autocompletionTextField($item, 'otherserial', array('value' => $objectName));
echo "</td></tr>\n";

Expand Down

0 comments on commit c74792d

Please sign in to comment.